WordPress.org

Forums

WP eCommerce
[resolved] How do I create "add to cart" and "buy now" buttons? (2 posts)

  1. bobdobbs
    Member
    Posted 2 years ago #

    Hi.

    I'm creating a custom theme using e-commerce 3.8.9.

    I'm creating a loop which displays products and some associated information.

    I'd like to create an "add to cart" button, and if possible, a "buy now" button.

    How can I create buttons with these functions?

    http://wordpress.org/extend/plugins/wp-e-commerce/

  2. Visser Labs
    Member
    Posted 2 years ago #

    Hi bobdobbs, you can add the Add to Cart button via a template function. See below.

    wpsc_add_to_cart_button( $product_id );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.