0
Welcome Guest! Login
0 items Join Now

showing upselling products in tabs

    • yaap's Avatar
    • yaap
    • Newbie
    • Posts: 2
    • Thanks: 0

    showing upselling products in tabs

    Posted 7 years 9 months ago
    • dear,

      Is it possible to show the cross selling products in the tabs? How can I manage this?

      tnx
    • Sam Mahoney's Avatar
    • Sam Mahoney
    • Preeminent Rocketeer
    • Posts: 7420
    • Thanks: 222

    Re: showing upselling products in tabs

    Posted 7 years 9 months ago
    • First, you'll need to open app/design/frontend/quasar_free/default/template/catalog/product/productview-description.phtml and add a new tab. So around line 50 you'll see the <ul>, so add around line 72, just before the closing </ul>, a <li> for the new tab like:

      <li class="upsell"><a href="#upsell"><?php echo $this->__('Upsell') ?></a></li>

      ...then below you'll need to add the content box, so around line 139, before the <?php endif; ?> add the following:

      <div id="upsell" class="tab_content">
      <?php echo $this->getChildHtml('upsell_products') ?>
      </div>

      Then you'll need to remove the original upsell call from app/design/frontend/base/default/template/catalog/product/view.phtml on line 166.

      Untested but should work.
    • STEP 1 IN MAGENTO DEVELOPMENT - DISABLE YOUR CACHE OR YOU WON'T SEE ANY CHANGES.
      Use the new "secure" tab when replying for privately sharing links.
      Check the "Useful Snippets" post for tips.

Time to create page: 0.068 seconds