- Posts: 42
- Thank you received: 0
Discounts - including shipping
13 years 9 months ago #85507
by umek
Discounts - including shipping was created by umek
hi,
Can you please advise how can I include a coupon that would include the discount on the shipping price as well (other than on the item only)?
tnx
ian
Can you please advise how can I include a coupon that would include the discount on the shipping price as well (other than on the item only)?
tnx
ian
Please Log in or Create an account to join the conversation.
13 years 9 months ago #85556
by Xavier
Replied by Xavier on topic Discounts - including shipping
Hi,
For that it will require to edit the core of HikaShop. The coupons are initially not made for that.
You can maybe create a plugin which will calculate the total order price depending on the coupon added in it.
Create a coupon, and apply it on a product, then in your plugin use the function "onBeforeOrderCreate()" and write you php code to change the shipping price and then the total price.
Here is some documentation:
www.hikashop.com/fr/support/documentatio...r-documentation.html
For that it will require to edit the core of HikaShop. The coupons are initially not made for that.
You can maybe create a plugin which will calculate the total order price depending on the coupon added in it.
Create a coupon, and apply it on a product, then in your plugin use the function "onBeforeOrderCreate()" and write you php code to change the shipping price and then the total price.
Here is some documentation:
www.hikashop.com/fr/support/documentatio...r-documentation.html
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 40
- Thank you received: 2
12 years 2 weeks ago #176598
by thesilentman
Replied by thesilentman on topic Discounts - including shipping
Hello,
has there been any development in this matter, or do we still need to write a plugin for this functionality?
I did a quick search and found no option to set this.
Keep in mind that very often shops want discounts to include shipping costs. IMHO this should be an option if it isn't yet.
Thanks
has there been any development in this matter, or do we still need to write a plugin for this functionality?
I did a quick search and found no option to set this.
Keep in mind that very often shops want discounts to include shipping costs. IMHO this should be an option if it isn't yet.
Thanks
Please Log in or Create an account to join the conversation.
12 years 2 weeks ago #176600
by Xavier
Replied by Xavier on topic Discounts - including shipping
Hi,
Unfortunately it is not yet included, we don't had enough requests for that.
So the development of a plugin is still required.
Unfortunately it is not yet included, we don't had enough requests for that.
So the development of a plugin is still required.
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds