WordPress.org

Ready to get started?Download WordPress

Forums

MarketPress - WordPress eCommerce
[resolved] "Add to cart" function on multiple pages (2 posts)

  1. passmarts
    Member
    Posted 1 year ago #

    I would like to have multiple pages with the "add to cart" function as opposed to just having the "products" page holding the only "add to cart" buttons.

    Does anybody know of a fix to this as I assume that I am having a beginners moment here.

    Regards

    http://wordpress.org/extend/plugins/wordpress-ecommerce/

  2. WPMUDEV
    WPMU DEV Support Staff
    Plugin Author

    Posted 1 year ago #

    @passmarts

    try this.

    [mp_buy_button] - Displays the buy or add to cart button.
    Optional Attributes:

    "product_id" - The ID for the product. This is the Post ID, you can find it in the url of a product edit page. Optional if shortcode is in the loop.
    "context" - What context for display. Options are list or single, default single which shows all variations.
    Example: [mp_buy_button product_id="1" context="single"]

    Cheers

    Tom

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic