Dimensions Display

  • Posts: 28
  • Thank you received: 2
12 years 9 months ago #44830

I have created products with three variants - small medium and large. each variant has its own price and dimensions.

The problem I have is the product displsy shows the dimensions of the default variant, but does not display once I click on another variant.

See attached - file 1 is the forst disp with def product variant.
file 2 shows what happens when I choose a diff variant.

Help pls...

Joomla 2.5, Hs 1.57 both fresh installs

Attachments:
Last edit: 12 years 9 months ago by Mike2001.

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #45042

Hi,

Indeed, that's a bug in the current release. Please change the code:

		$this->setLayout('show_block_dimensions');
		echo $this->loadTemplate();
		?>
	</span><br />
to the code:
		?>
	</span>
	<?php
		$this->setLayout('show_block_dimensions');
		echo $this->loadTemplate();
	?><br />
in the file "show_default" of the view "product" via the menu Display->Views and it will fix the problem.

The following user(s) said Thank You: Mike2001

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

  • Posts: 28
  • Thank you received: 2
12 years 9 months ago #45078

Works great, Thanks...

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

  • Posts: 28
  • Thank you received: 2
12 years 9 months ago #45232

Okay, one more thing - The product code is not auto updating on the product page when i select a characteristic.

Thanks in advance...

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #45387

Can you give a link to that page so that we can see that ?

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

  • Posts: 28
  • Thank you received: 2
12 years 9 months ago #45457

Sure, it is www.ezecosmart.com

Just click on one of the gift bags and you can select the variation below.

Thanks...

P.S. While you are on that same page, if you click on an item after scrolling to the end(slide effect), the images reset to the beginning every time with the item selected showing in the product display below. In addition, if I use a fade effect, the product selection is inaccurate (not the same as the picture) after scrolling a few times.

Thx...

Last edit: 12 years 9 months ago by Mike2001.

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #45495

It's because of the span processing option of your template. Turn it off in the options of your template and that should solve the problem.

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

  • Posts: 28
  • Thank you received: 2
12 years 9 months ago #45544

Okay, this is partially working. The only problem is that the variation is not showing for the default option (before you click on one of the other variations). My default is small in this case, and small does not show up unless you choose another variation and then go back to small.

See ezecosmart.com (Eco Bags)

Thanks again in advance. I really appreciate your support

Mike

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #45675

That's indeed the case. Lot's of people wanted to have it like that... So we changed it to have it that way...
If you don't want that, edit the file "show_default" via the menu display->Views and remove:

if (hikashop_getCID('product_id')!=$this->element->product_id && isset ($this->element->main->product_name))
				echo $this->element->main->product_name;
			else

The following user(s) said Thank You: Mike2001

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

Time to create page: 0.072 seconds
Powered by Kunena Forum