- Posts: 11
- Thank you received: 0
Fixed price for option regardless of quantity
14 years 1 month ago #67596
by tjsan
Fixed price for option regardless of quantity was created by tjsan
I would like to add a fixed fee to a product that is independent of the quantity ordered.
For example, a customer orders 200 items at 0.25 each. They can then choose a fixed price option for that item, at a cost of 5.00
So the total price would be 200*0.25 + 5.00 (if the third option is chosen).
1. Is this possible using Hikashop configuration? or
2. By modifying a pricing function, perhaps along with a custom field?
For example, a customer orders 200 items at 0.25 each. They can then choose a fixed price option for that item, at a cost of 5.00
So the total price would be 200*0.25 + 5.00 (if the third option is chosen).
1. Is this possible using Hikashop configuration? or
2. By modifying a pricing function, perhaps along with a custom field?
Please Log in or Create an account to join the conversation.
14 years 1 month ago #67755
by Eliot
Replied by Eliot on topic Re: Fixed price for option regardless of quantity
Hi there,
Hikashop doesn't allow you to add fixed extra charge on a product.
One option is to use the manual shipping, activate the "use price by product" option and then, in the edition of your product, add a 5€ charge on the product.
By this way, customers will be charger 5€ more when they buy this product but not the others
Hikashop doesn't allow you to add fixed extra charge on a product.
One option is to use the manual shipping, activate the "use price by product" option and then, in the edition of your product, add a 5€ charge on the product.
By this way, customers will be charger 5€ more when they buy this product but not the others
Please Log in or Create an account to join the conversation.
14 years 1 month ago - 14 years 1 month ago #67780
by tjsan
Replied by tjsan on topic Re: Fixed price for option regardless of quantity
Thanks Eliot, I was afraid you would say that!
I was thinking that I might add a custom field to indicate that a product could only ever have a quantity of 1. I would then need to change the code where it updates the price to interrogate that field and override the quantity if it was true.
Do you think that is feasible? If so, what module would need to be changed?
I was thinking that I might add a custom field to indicate that a product could only ever have a quantity of 1. I would then need to change the code where it updates the price to interrogate that field and override the quantity if it was true.
Do you think that is feasible? If so, what module would need to be changed?
Last edit: 14 years 1 month ago by tjsan. Reason: typo
Please Log in or Create an account to join the conversation.
14 years 1 month ago #67877
by nicolas
Replied by nicolas on topic Re: Fixed price for option regardless of quantity
If you set the option to have a max number of items per order of 1, that will indeed do what you want I think.
I would recommend to just change the error message which is displayed in such cases to something else like "your product has been added to the cart" and that will be pretty out of the box.
I would recommend to just change the error message which is displayed in such cases to something else like "your product has been added to the cart" and that will be pretty out of the box.
The following user(s) said Thank You: andreasforiers
Please Log in or Create an account to join the conversation.
14 years 1 month ago #68014
by tjsan
Replied by tjsan on topic Re: Fixed price for option regardless of quantity
Thank you Nicolas - just what I need!
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 4
- Thank you received: 0
13 years 10 months ago #80425
by andreasforiers
Replied by andreasforiers on topic Fixed price for option regardless of quantity
How do I need to change the error message? Where is it possible? Thnx.
Please Log in or Create an account to join the conversation.
13 years 10 months ago #80475
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Fixed price for option regardless of quantity
Hi,
The message is a language translation.
You can override it in the HikaShop configuration (language tab).
More documentation about language override:
www.hikashop.com/en/download/languages.html#modify
www.hikashop.com/en/support/documentation/faq.html#translation
Regards,
The message is a language translation.
You can override it in the HikaShop configuration (language tab).
More documentation about language override:
www.hikashop.com/en/download/languages.html#modify
www.hikashop.com/en/support/documentation/faq.html#translation
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: andreasforiers
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 4
- Thank you received: 0
13 years 10 months ago #80663
by andreasforiers
Replied by andreasforiers on topic Fixed price for option regardless of quantity
At this moment I can't continue the order proces in frontend caused by the error message. How can I solve this problem?
Please Log in or Create an account to join the conversation.
13 years 10 months ago #80676
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Fixed price for option regardless of quantity
Hi,
If you have error message and configuration problem. Please open a new thread in order to explain your problem and ask your questions.
I don't think your error message is the same problem that this thread talk about, so, without more information it would be difficult for us to help you (source of your problem, screenshot, website link).
Regards,
If you have error message and configuration problem. Please open a new thread in order to explain your problem and ask your questions.
I don't think your error message is the same problem that this thread talk about, so, without more information it would be difficult for us to help you (source of your problem, screenshot, website link).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.140 seconds