Skip to main content

Dimensions Display

More
14 years 6 months ago - 14 years 6 months ago #44830 by Mike2001
Dimensions Display was created by Mike2001
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
Last edit: 14 years 6 months ago by Mike2001.

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

More
14 years 6 months ago #45042 by nicolas
Replied by nicolas on topic Re: Dimensions Display
Hi,

Indeed, that's a bug in the current release. Please change the code:
Code:
$this->setLayout('show_block_dimensions'); echo $this->loadTemplate(); ?> </span><br />
to the code:
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.

More
14 years 6 months ago #45078 by Mike2001
Replied by Mike2001 on topic Re: Dimensions Display
Works great, Thanks...

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

More
14 years 6 months ago #45232 by Mike2001
Replied by Mike2001 on topic Re: Dimensions Display
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.

More
14 years 6 months ago #45387 by nicolas
Replied by nicolas on topic Re: Dimensions Display
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.

More
14 years 6 months ago - 14 years 6 months ago #45457 by Mike2001
Replied by Mike2001 on topic Re: Dimensions Display
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: 14 years 6 months ago by Mike2001.

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

More
14 years 6 months ago #45495 by nicolas
Replied by nicolas on topic Re: Dimensions Display
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.

More
14 years 6 months ago #45544 by Mike2001
Replied by Mike2001 on topic Re: Dimensions Display
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.

More
14 years 6 months ago #45675 by nicolas
Replied by nicolas on topic Re: Dimensions Display
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:
Code:
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.299 seconds
Powered by Kunena Forum