Digital products & shipping products

  • Posts: 31
  • Thank you received: 3
2 years 2 months ago #347295

-- HikaShop version -- : 4.6.2
-- Joomla version -- : 3.10.11
-- PHP version -- : 7

Hi

If you have a shop with

  • some digital products
  • some shipping products

Could it be possible to hide the "quantity" button on digital products but keep it on shipping products ?

Regards

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

  • Posts: 83338
  • Thank you received: 13476
  • MODERATOR
2 years 2 months ago #347296

Hi,

In each product, when you edit it, you have a "quantity input" setting. This setting allows you to decide how to display the quantity input or even hide it for that specific product. So you could just set it to "none" for digital products.
And if you want to make it automatic based on the weight of the product (when the weight is 0, the product is considered a virtual good and no shipping is required unless the "force shipping regardless of weight" setting is activated in the HikaShop configuration), you can create two mass actions with a trigger "after a product is updated" and a filter on the product_weight with an action "update the values" on the column product_quantity_layout to set the value automatically.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum