WordPress.org

Support

Support » Plugins and Hacks » Add Product into the shopping cart from

Add Product into the shopping cart from

  • Hi,

    I would like to know if it’s possible to add product from a price box page? For like this sample:
    http://dreamthemedesign.com/themes/u-design/features/convenient-code-snippets/price-boxes/.

    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:
    [yak_buy_begin]

    <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>
    [yak_buy_end]

    <script>
    function comprar(prodid)
    {
    debugger
    jQuery(‘#buynow’).val(prodid);
    jQuery(‘#p’).val(prodid);
    return validateBuy(jQuery(‘#addbutton’), 0,0, 0, 1, true, ‘http://info.balcaoexpress.pt’)
    }
    </script>

    http://wordpress.org/extend/plugins/yak-for-wordpress/

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

    @jrbriggs

    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.