style of product page changes when i change varian

  • Posts: 6
  • Thank you received: 0
12 years 11 months ago #40275

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.

  • Posts: 83103
  • Thank you received: 13415
  • MODERATOR
12 years 10 months ago #40472

Hi,

The simplest will be to edit the file "show" of the view "product" via the menu Display->Views and remove the 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:
<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.

  • Posts: 6
  • Thank you received: 0
12 years 10 months ago #40553

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.

  • Posts: 6
  • Thank you received: 0
12 years 10 months ago #40554

Wait, just fixed it, you a legend! thanks :)

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

Time to create page: 0.057 seconds
Powered by Kunena Forum