- Posts: 303
- Thank you received: 18
Variant images not showing
- mojooutdoors-holden
-
Topic Author
- Offline
Less
More
7 years 1 month ago #309361
by mojooutdoors-holden
Variant images not showing was created by mojooutdoors-holden
-- url of the page with the problem -- :
www.mojooutdoors.com/hunting-bags-and-ac...ries/mojo-handwarmer
-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.8
Main product page has 3 images assigned. On the two variants of this product, i tried to assign images (one image for each variant). The result is only one image (from first variant) which does not change when you switch variants.
I checked the show_block_img view file and even reverted back to the original to confirm that one of my overrides for mobile display wasn't affecting this.
For now, i removed the variant images so i could have them all display from the main product page. However, any thoughts on why the variant images aren't showing when the variant is changed? Everything else corresponding to the variant changes properly.
-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.8
Main product page has 3 images assigned. On the two variants of this product, i tried to assign images (one image for each variant). The result is only one image (from first variant) which does not change when you switch variants.
I checked the show_block_img view file and even reverted back to the original to confirm that one of my overrides for mobile display wasn't affecting this.
For now, i removed the variant images so i could have them all display from the main product page. However, any thoughts on why the variant images aren't showing when the variant is changed? Everything else corresponding to the variant changes properly.
Please Log in or Create an account to join the conversation.
- mojooutdoors-holden
-
Topic Author
- Offline
Less
More
- Posts: 303
- Thank you received: 18
7 years 1 month ago #309362
by mojooutdoors-holden
Replied by mojooutdoors-holden on topic Variant images not showing
Figured out my issue. I had an override on the show.php view file:
$this->setLayout('show_block_img');
echo $this->loadTemplate();
The above lines were commented out, hence no variants.
Is there any easy way to make the mobile version of images (whether variants or main) mobile responsive via swipe? Or is it limited to the shadowbox for now?
$this->setLayout('show_block_img');
echo $this->loadTemplate();
The above lines were commented out, hence no variants.
Is there any easy way to make the mobile version of images (whether variants or main) mobile responsive via swipe? Or is it limited to the shadowbox for now?
Please Log in or Create an account to join the conversation.
7 years 1 month ago #309364
by nicolas
Replied by nicolas on topic Variant images not showing
Hi,
Shadowbox is responsive but doesn't handle swipe.
However, this plugin provides additional image popup modes, some of them with swipe support:
www.hikashop.com/marketplace/product/117...pups-by-obsidev.html
Shadowbox is responsive but doesn't handle swipe.
However, this plugin provides additional image popup modes, some of them with swipe support:
www.hikashop.com/marketplace/product/117...pups-by-obsidev.html
Please Log in or Create an account to join the conversation.
Time to create page: 0.174 seconds