Post by virtualgeorge » Mon Dec 01, 2014 2:33 am

http://dunertunes.com/POLARIS/RZR-4/RZR ... -RZR4-4CHM

I am using theme (just updated versions) that allows you to add addition product tabs which you can see on the above product page.
I just added them a day or two ago and now when I pull up the site today I see duplicates.

The developer will help fix this but may take a few days so I was wondering if someone could give me a quick fix maybe for my product.tpl that would remove the duplicates?

Or a table in the db via phpmyadmin?

Seems when I create new tabs they don't duplicate so I could just re-create these but each tab is added to like 30 categories so its a lot of clicking and typing into the autocomplete fields and takes a while.

Thanks!!!
From my product.tpl

Code: Select all

<div id="tabs" class="htabs">
    <?php if (!$this->journal2->settings->get('hide_product_description')) { ?>
    <a href="#tab-description"><?php echo $tab_description; ?></a>
    <?php } ?>
    <?php if ($attribute_groups) { ?>
    <a href="#tab-attribute"><?php echo $tab_attribute; ?></a>
    <?php } ?>
    <?php if ($products) { ?>
    <a href="#tab-related" class="tab-related"><?php echo $tab_related; ?> (<?php echo count($products); ?>)</a>
    <?php } ?>
    <?php $index = 0; foreach ($this->journal2->settings->get('additional_product_tabs', array()) as $tab): $index++; ?>
    <a href="#additional-product-tab-<?php echo $index; ?>"><?php echo $tab['name']; ?></a>
    <?php endforeach; ?>
        <?php if ($review_status) { ?>
    <a href="#tab-review"><?php echo $tab_review; ?></a>
    <?php } ?>
  </div>
  <?php $index = 0; foreach ($this->journal2->settings->get('additional_product_tabs', array()) as $tab): $index++; ?>
  <div id="additional-product-tab-<?php echo $index; ?>" class="tab-content journal-custom-tab"><?php echo $tab['content']; ?></div>
  <?php endforeach; ?>
  <?php if (!$this->journal2->settings->get('hide_product_description')) { ?>
  <div id="tab-description" class="tab-content" itemprop="description"><?php echo $description; ?></div>
  <?php } ?>

Active Member

Posts

Joined
Wed Jun 18, 2008 5:57 am
Who is online

Users browsing this forum: No registered users and 15 guests