Product Variant setting

  • Posts: 30
  • Thank you received: 0
8 years 3 months ago #263959

-- HikaShop version -- : 3.0
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6

I creat a product have 2 different color and I set 2 color image in the product page, set black image in black variant, set white image in white.
But it just show the black image in default, how can I set to show the 2color image at the beginning of the product page, the Black image show only when selected the option.
I try to set "please select" option in variant, but it shows out of stock. How to make the add cart button still show, and when you click on it will force you to choose options?

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

  • Posts: 83989
  • Thank you received: 13604
  • MODERATOR
8 years 3 months ago #263970

Hi,

Why not simply set both images to both variants but set the one of the variant as main one (the first one) ? That way, by default you'll have both images but you'll see the first one as main and it will correspond to the preselected variant, and when you change, you'll see as main the other image of the variant you selected.
It looks the best to me.
If you set a "please select" variant, then yes, either you can add it to the cart, or not, and in that case you won't see the add to cart button unless you select another variant. There is no system in place to be able to keep the add to cart button displayed but have a warning when you click on it.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum