Add coupon to cart via URL


  • Default avatar
    thomas973    
     14 days 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    
     14 days ago
    0

    Yes, you can using addcoupontocart

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

    Thank you!