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

  1. passmarts
    Posted 3 years 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.



  2. WPMU DEV - Your WordPress Team
    WPMU DEV Support Staff
    Plugin Author

    Posted 3 years ago #


    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"]



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MarketPress - WordPress eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic