Skip to main content

style of product page changes when i change varian

More
14 years 7 months ago #40275 by ChrisWSI
Hello, I am having a problem with certain parts of my product page when I change the variant. When i change the color, it goes from the current styled product page and change the description style and price style. Check out on my link and you will see what i mean?

www.madaboutleisure.com/categories/produ...category_pathway-469

Has anyone got any suggestions?

Thanks,

Chris

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #40472 by nicolas
Hi,

The simplest will be to edit the file "show" of the view "product" via the menu Display->Views and remove the code:
Code:
<div id="hikashop_product_description_<?php echo $variant_name;?>" style="display:none;"> <?php echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$variant->product_description));?> </div>
and the code:
Code:
<div id="hikashop_product_price_<?php echo $variant_name;?>" style="display:none;"> <?php if ($this->params->get('show_price')) { $this->setLayout('listing_price'); echo $this->loadTemplate(); } ?> </div>

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #40553 by ChrisWSI
Will that not just remove both the description and price away from the product page if i delete all of that code?

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #40554 by ChrisWSI
Wait, just fixed it, you a legend! thanks :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.171 seconds
Powered by Kunena Forum