Buy shopcart variant 100ml get y for free. Is this possible?


  • Default avatar
    john71    
     11 years ago
    0

    I have one product available in two sizes. So I made a shopcart variant (special product) in Virtuemart: choose size, 50 ml or 100ml.
    Now I want to give a free Y when someone buyes the 100ml. Is this possible? Because there is only one product ID, but two sizes with a shopcart variant...

    Follow this link: https://gezondehuidwinkel.nl/kies-een-productgroep/dermalogica-body-lichaam/dermalogica-conditioning-body-wash-detail.html
    Now you get the cloth for free no matter what size you choose. But it should be only with the big bottle!

    Kind regards, John
  • Your avatar
    seyi    
     11 years ago
    0

    Hello,

    It is not possible to specify the attribute when creating the coupon code. The most specific you can get is the product (id) itself.

    You could set up a stockable variant, which will allow you to create 2 different products for the dropdown:
    http://www.flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/152-tutorial-custom-field-with-stockable-variants

    Then specify the coupon code for the specific product.
  • Default avatar
    john71    
     11 years ago
    0

    Hi Seyi,

    I know it is possible with stock variant. But what a hell to create this in VM, as a variant is so easy and simple.

    Will it never be possible in Coupon Pro, or maybe in an update?

    Kind regards, John
  • Your avatar
    seyi    
     11 years ago
    0

    Hello,

    Yes, it does seem to be a pain to add the stock variant. I hope over time this will get much easier. And no, creating coupons based on custom fields is not likely to be added to AwoCoupon. Are you trying to do this for many different products or just one product. If just a few, maybe could just add a hack into the code to exclude the products.