Can't buy products with options

  • Posts: 134
  • Thank you received: 6
9 years 1 month ago #195411

-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.1
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.16

Hi,

if a product has options it is impossible to order it. The following error appears:

"Can't add product PRODUCT_NAME of vendor NOTHING HERE 
The cart is empty"

The name of the vendor is not present, it is the same vendor for both items.

The same product could be ordered If options are removed it.

Regards!

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
9 years 1 month ago #195418

Hi,

I think that the product option should be assigned to your main vendor (your store).
At this moment you can limit the vendors in the cart using "one extra vendor" to accept one single vendor and the store too.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 134
  • Thank you received: 6
9 years 1 month ago #195561

Hi, I set Group options with product to 'Yes' in the HS->configuration->cart and now products with options can be added.

Isn't that message template used in diferent situations. I would like to add more descriptive text when several items from different vendors are selected for checkout and some of them are not added because of the vendor limitation.

How can I modify the message to inform the user about that limitation?

Regards!

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

  • Posts: 134
  • Thank you received: 6
9 years 1 month ago #195571

In other words - Is this message

Can't add product PRODUCT_NAME of vendor
used only in this situation (several items from several vendors selected).

If yes I may overwrite it. :)

Thank you.

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
9 years 1 month ago #195572

Hi,

You have two translations

VENDOR_CART_PRODUCT_REFUSED="Can't add product "%s" of vendor %s"
VENDOR_CART_PRODUCT_REFUSED_2="Can't add product "%s" of vendor %s"
These translations are used when you have a vendor limitation.

The second one is used when the customer is trying to add a product and have already products from one vendor (and from the store too).
It received 4 strings : the product name, the vendor name of the refused product, the current vendor name in the cart, the vendor name of your main vendor.

The first one is used when the customer is trying to add a product from another vendor.
It received 3 strings : the product name, the vendor name of the refused product, the current vendor name in the cart.

You can override these translations in order to have special custom messages to warn the user.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: filiar

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

  • Posts: 134
  • Thank you received: 6
9 years 1 month ago #195574

Thank You that was what I was asking about :-)

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

Moderators: Obsidev
Time to create page: 0.065 seconds
Powered by Kunena Forum