Variants block ordering if not given specific Availability dates

  • Posts: 195
  • Thank you received: 5
  • Hikashop Business
8 years 4 months ago #260332

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.x
-- Browser(s) name and version -- : various
-- Error-message(debug-mod must be tuned on) -- : no stock availalbe

Just upgraded to 3.0.0 and tried to use Variants on several items.

When we added variants to any item they wouldn't allow any ordering of the item (even though all qty fields were set to "Unlimited".

After spending a couple hours working on this I was able to track it down.

If you have ANY variants you MUST set the "Available from" and "to" date/time in order for the variant to work. Leaving those areas blank (in the variant and the main product) won't let you order any of the items. As soon as we entered dates in both fields for ALL the variants (on several products) they all worked fine.

Looks like maybe a bug?

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

  • Posts: 83992
  • Thank you received: 13604
  • MODERATOR
8 years 4 months ago #260340

Hi,

I'm not able to reproduce the problem on my end.
Neither on my local test website, nor on our demo website:
demo.hikashop.com/index.php/en/hikashop/...with-characteristics
That product doesn't have any available from/to in its variants and the add to cart works just fine.
What error did you get when that happened ? Could you give a link to a product page with the issue ?

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

Time to create page: 0.042 seconds
Powered by Kunena Forum