AbanteCart Development > Development Help Needed

Is there a way to apply custom discount at the time of cart summary or checkout?

(1/1)

sunnykasera3107:
Hi,

Is there a way to apply the custom discount at the time of cart summary or on the checkout page?
I have created a custom coupon feature which is totally different from the inbuilt feature. The backend (admin) is ready for that But when I am applying that coupon so I cannot get how to add a custom line item in cart summaries like tax or shipping.
Could you please suggest something to me for this?

Thank you

abantecart:
Possibly, you do not have coupons enabled on the shopping cart. Check manuals below.

https://abantecart.atlassian.net/wiki/spaces/AD/pages/7143431/Coupon+on+shopping+cart+page

https://abantecart.atlassian.net/wiki/spaces/AD/pages/11304965/Manage+Coupons

sunnykasera3107:
That coupon is enabled. I am not talking about the existing coupon feature.
I am talking about the custom coupon feature I have developed. So I have a number of coupons in that custom coupon list. Now I want to apply that coupon on the cart.
So How cannot apply that on the cart is there any specific function available?

Basara:
Maybe you need to create a custom order total to apply something to order and basket https://github.com/abantecart/abantecart-src/tree/master/public_html/storefront/model/total

sunnykasera3107:
Thank You, Yes I am looking for that way.
Let me try it...

Thank you for helping with this.

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod