- Posts: 256
- Thank you received: 2
Can we stop quantity from changing product price?
- dancingkazzaf
-
Topic Author
- Offline
Less
More
11 years 2 months ago #209732
by dancingkazzaf
Can we stop quantity from changing product price? was created 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?
-- 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.
Less
More
- Posts: 12953
- Thank you received: 1778
11 years 2 months ago #209737
by Mohamed Thelji
Replied by Mohamed Thelji on topic Can we stop quantity from changing product price?
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".
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.
- dancingkazzaf
-
Topic Author
- Offline
Less
More
- Posts: 256
- Thank you received: 2
11 years 2 months ago #209814
by dancingkazzaf
Replied by dancingkazzaf on topic Can we stop quantity from changing product price?
Will this be able to update the product stock left?
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
11 years 2 months ago #209837
by Mohamed Thelji
Replied by Mohamed Thelji on topic Can we stop quantity from changing product price?
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
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