Limit coupon code to specific method inside shipping module?


  • Default avatar
    joyce3    
     3 years ago
    0


    Is there a way to limit a Coupon Code to only FedEx Ground when the options for the shipment module are: FedEx Ground / Overnight / 2 day / 3 day?

    If I make a separate module in Virtuemart and apply the coupon code then I lose the ability to exclude products.
  • Your avatar
    seyi    
     3 years ago
    0

    Hello,

    The only way would be to create separate shipping methods in Virtuemart where you select the items you want to discount in one and the items you do not want to discount in the other. Then when creating the coupon code, select the discount shipping methods.
  • Default avatar
    joyce3    
     3 years ago
    0

    I ended up editing my Shipment module language file to include an asterisk (*) before each shipping method available to them for free shipping. Then in my template folder I made an override for virtuemart cart template (select_shipment.php) folder override I put " * Option available for free shipping using the SHIP75 coupon. " at the bottom.

    Should be pretty obvious that the only free shipment methods have an asterisk.