Support » Plugin: YAK for WordPress » Add Product into the shopping cart from

  • Xpto



    I would like to know if it’s possible to add product from a price box page? For like this sample:

    The idea is to click in o “buy” button, add to shopping cart and redirect into check-out page.This is possible?

    I added these lines of code:

    <input type=”hidden” name=”category” value=”11″/>
    <input type=”hidden” id=”buynow” name=”buynow” value=”247″/>
    <input type=”hidden” id=”buynow_param” name=”buynow_param” value=”p”/>
    <input type=”hidden” id=”p” name=”p” value=”247″/>
    <button id=”addbutton” name=”addbutton” style=”display:none;” class=”yak_button” type=”submit”>xxx</button>

    function comprar(prodid)
    return validateBuy(jQuery(‘#addbutton’), 0,0, 0, 1, true, ‘’)

Viewing 1 replies (of 1 total)
  • Plugin Author nolongeractive


    You can include buy buttons for different products on a single page using:

    [yak_buy id=”247″]

    And you can control redirecting to the checkout in the basic options.

Viewing 1 replies (of 1 total)
  • The topic ‘Add Product into the shopping cart from’ is closed to new replies.