Skip to main content

Can we stop quantity from changing product price?

More
11 years 2 months ago #209732 by dancingkazzaf
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1

Hi Guys,

We were wondering if it was possible to stop the quantity field changing the price of the product?

Basically, we need the quantity field to still update the stock we have left, but we want the customer to only ever be charged for 1, no matter how many they order. Is this possible?

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

More
11 years 2 months ago #209737 by Mohamed Thelji
Hello,
A simple solution can be to, instead of using the "Quantity" field, to use a custom item field that you'll be able to create via "Hikashop->Display->Custom fields".

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

More
11 years 2 months ago #209814 by dancingkazzaf
Will this be able to update the product stock left?

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

More
11 years 2 months ago #209837 by Mohamed Thelji
Hello,
My bad, I didn't totally understood your first question, there is no option to do that if you also want the stock to be update.
The only solution will be to directly create a plugin based on the trigger :
- hikashop_product_price_for_quantity_in_cart
- hikashop_product_price_for_quantity_in_order
which will override the product quantity trough your customer cart during the checkout workflow.
Checking the developer documentation can be usefull : www.hikashop.com/support/documentation/6...r-documentation.html

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

Time to create page: 0.181 seconds
Powered by Kunena Forum