Author Topic: Is there a way to apply custom discount at the time of cart summary or checkout?  (Read 1553 times)

Offline sunnykasera3107

  • Newbie
  • *
  • Posts: 10
  • Karma: +5/-0
    • View Profile
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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4277
  • Karma: +283/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline sunnykasera3107

  • Newbie
  • *
  • Posts: 10
  • Karma: +5/-0
    • View Profile
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?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4710
  • Karma: +244/-2
    • View Profile
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

Offline sunnykasera3107

  • Newbie
  • *
  • Posts: 10
  • Karma: +5/-0
    • View Profile
Thank You, Yes I am looking for that way.
Let me try it...

Thank you for helping with this.

 

Powered by SMFPacks Social Login Mod