Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - CleanMart (SKU# FLEX-00015)

TOPIC: Related Products not showing up

Related Products not showing up 8 years 7 months ago #13032

Dear,
after 3 month this problem is still live and we wait a solution...
the previous topic is been close by support, because a new update of template was in release...
until now no news about.
Please we need and wait a solution about this problem

Thanks you so much
The topic has been locked.

Related Products not showing up 8 years 7 months ago #13054

Hi,

Related product problem has been patched in CleanMart v3.8 (on September 17th)

See more info: www.flexiblewebdesign.com/forum-virtuemart-2-template-support/1379-cleanmart-updates-check-and-request

Regards.
The topic has been locked.

Related Products not showing up 8 years 7 months ago #13055

If you have customized the CleanMart product details page, here is the code snippet you should embed to enable the "Related Products" Tab.

Open the product details page:
/templates/YOUR_TEMPLATE/html/com_virtuemart/productdetails/default.php

Find the <ul id="vmtabs" class="shade tabs">..... </ul> to list the TABs. Just before the </ul>, enter this code snippet:
<?php if (!empty($this->product->customfieldsSorted['related_products'])) { ?>
          <li><a href="javascript:void(0)" rel="#relatedProducts"><span><?php echo JText::_('COM_VIRTUEMART_RELATED_PRODUCTS');?></span></a></li>
<?php } ?>

Then, find this DIV element: <div class="tabcontent-container"> .... </div> (that's a very long div, make sure to find the start and end of that element)

Right before the </div> (of that tabcontent-container div element), enter this code snippet:
<?php if (!empty($this->product->customfieldsSorted['related_products'])) { ?>
          <div id="relatedProducts" class="flex-tabcontent" style="display:none;">
          <?php echo shopFunctionsF::renderVmSubLayout('customfields',array('product'=>$this->product,'position'=>'related_products','class'=> 'product-related-products','customTitle' => true )); ?>
          </div>
<?php } ?>

After you take care these code edits, you will have a "TAB" to show the related products.

For now, the layout will be whatever Virtuemart has in-stock. It might look little ugly. It requires some CSS edits to make the layout prettier. In the upcoming CleanMart version, we will take care the CSS edits (or maybe JS edits as well) and "Related Products" will look much better.

Regards
The topic has been locked.

Related Products not showing up 8 years 7 months ago #13058

Dear Support, I have apply the changes that you have suggested and work well. for the edit ccs is not a problem.
my problem is that I'm not able to downlaod the template with the last release 3.8
please, could you check my license.

thank you
The topic has been locked.

Related Products not showing up 8 years 7 months ago #13061

Hi Roberto,

I just email the download to your email address. You can click that link to download the CleanMart v3.8
Your link will remain valid until Wednesday, 23 December 2015

I am marking this case as solved, and closing the topic for clearance.

Regards.
The topic has been locked.
Time to create page: 0.171 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo