Home › Forums › Themes Support › Claue-Shopify › Show second image as "featured image" on product page.
- This topic has 6 replies, 2 voices, and was last updated 5 years, 8 months ago by Harry.
-
AuthorPosts
-
-
July 23, 2018 at 12:37 pm #23064
Hi There,
I’m trying to assign my second image as my featured image so that it shows when the product page first loads.
Lots of online forums say change
[CODE]<a href=”{{ product.featured_image | product_img_url: ‘original’ }}”[/CODE]
to
[CODE]<a href=”{{ product.images[1] | product_img_url: ‘original’ }}”[/CODE]
But I can’t find that code to change?
Many thanks,
Andy
-
July 23, 2018 at 5:32 pm #23096
Hi,
Please open file product-single-image-left.liquid in claue-from-janstudio > snippets
and edit
{{ image.src | img_url: 'master' }}
to
{{ product.images[1] | product_img_url: 'master' }}
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
July 24, 2018 at 5:44 am #23130
Hi Harry,
Thanks for your reply. Unfortunately when I make those changes it stops the carousel from working properly. Is there any chance you could paste the whole snippet for me so I can see what I’m missing please?
Thanks,
Andy
-
July 24, 2018 at 5:45 am #23131
When I paste in to product-single-image-carousel.liquid that is. When I paste in to product-single-image-left.liquid, nothing happens.
-
July 24, 2018 at 4:02 pm #23148
Hi Andy,
Could you send me your website url and admin account as private reply. So we can check and help you solve.
Thanks
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio-
July 25, 2018 at 12:49 pm #23197This reply has been marked as private.
-
-
July 26, 2018 at 2:23 pm #23265
Hi Andy,
I send you request admin account.
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.