How to Show a Product Display Box

Categories: WordPress Shopping Cart

You can use the “wp_cart_display_product” shortcode to create a product display box on the fly when using the Simple WP Shopping cart plugin. This can be very handy to display your products on a post, page or sidebar easily.

Here is an exmaple shortcode that shows you how to use a product display box.

[wp_cart_display_product name="My Awesome Product" price="25.00" thumbnail="http://www.example.com/images/product-image.jpg" description="This is a short description of the product"]

Replace the values with your product specific data to show a product display box for your product(s).

The above shortcode will product a product display box similar to the following screenshot:

product display box example

Using a Product Box with Product Variation

Here is an example shortcode usage with product variation:

[wp_cart_display_product name="My Awesome Product" price="25.00" thumbnail="http://www.example.com/images/product-image.jpg" description="This is a short description of the product" var1="Size|Small|Medium|Large" var2="Color|Red|Blue|Green|Black"]

The above shortcode will display a product for sale like the following:

product box with variation

Using Shipping With the Product Box

Here is an example of how to add the shipping parameter with the product box shortcode:

[wp_cart_display_product name="My Awesome Product" price="25.00" thumbnail="http://www.example.com/images/product-image.jpg" description="This is a short description of the product" var1="Size|Small|Medium|Large" var2="Color|Red|Blue|Green|Black" shipping="5"]

Note: We now provide technical support for our premium plugins via our customer only support forum

2 Responses to “How to Show a Product Display Box”

  1. admin Says:

    Yeah you can target the box and specify a color via the CSS.

  2. Martin Says:

    Hi,
    Super nice and simple plugin! Thanks!

    Is it possible to change the background color of the product displaybox?

    Best Regards
    Martin


Leave a Reply

Featured Documents

Tips and Tricks Hot Items

wordpress_estore_icon
wordpress membership plugin icon
WordPress PDF Stamper Plugin
WordPress Lightbox Ultimate Plugin
wordpress_affiliate_plugin_icon