Announcement

Collapse
No announcement yet.

Product Based Upsell Using Free Product Type Coupon

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Product Based Upsell Using Free Product Type Coupon

    I'm attempting to use the Coupon Redemption feature that functions as an upsell. Based on what I've done, it doesn't work.

    I'm not sure if I created the coupon correctly:

    I set the type as: Free Product
    I set the Value as: 85.00 (I want the product to be 15% of it's original value)
    I entered the Eligible Products as: VSL4100|#PSN1000|

    On the PROD page I place:

    Code:
    <mvt:if expr="l.settings:product:code EQ 'VSL4100'"><mvt:item name="toolkit" param="sassign|upsell_code|PSN1000" />
    <mvt:item name="toolkit" param="vproduct_find|productfound|g.upsell_code" />
    <mvt:item name="toolkit" param="sassign|half|.85" />
    <mvt:item name="toolkit" param="math_multiply|half_price|l.all_settings:key_product:adjusted_price|half" />
    <mvt:item name="toolkit" param="currencyformat|formatted_half_price|g.half_price" />
    <form method="post" action="&mvt:global:sessionurl;">
    <input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;">
    <input type="hidden" name="Screen" value="BASK">
    <input type="hidden" name="Action" value="NEW">
    <input type="hidden" name="SubScreen" value="CouponRd">
    <input type="hidden" name="Product_Code" value="PSN1000">
    <input type="hidden" name="Category_Code" value="&mvte:global:Category_Code;">
    <input type="hidden" name="Offset" value="&mvte:global:Offset;">
    <input type="hidden" name="coupon_id55" value="UPSELLTK">
    <input type="submit" name="cpn" value="Add Product - &mvte:global:formatted_half_price;">
    
    
    </form>
    </mvt:if>
    The button displays as expected. The value calculated is correct. I made sure I added the product to the basket first before trying to click the button. The button takes me to the basket screen but the product has not been added to the basket.

    What am I doing wrong?

    Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Re: Product Based Upsell Using Free Product Type Coupon

    Maybe if I bump this and include EmporiumPlus in the message, Bill may take a peek in and see what I'm doing wrong.

    Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    Comment

    Working...
    X