Add coupon to cart via URL


  • Default avatar
    thomas973    
     3 years ago
    0

    Hi
    Is it possible to add a coupon to the cart by sending the customer to a specific URL containing the coupon code?
    Like https://testshop.com/cart?coupon=xxxxx

    I'm using HikaShop

    Kind regards
    Thomas
  • Your avatar
    seyi    
     3 years ago
    0

    Yes, you can using addcoupontocart

    https://testshop.com/cart/?addcoupontocart=[coupon_code]
  • Default avatar
    thomas973    
     3 years ago
    0

    Thank you!