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:
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:
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"]
Specifying an Alt Tag for the Thumbnail Image
You can use the thumb_alt parameter in the shortcode to specify an alt tag for the thumbnail image to be used in the product box. Below is an example:
[wp_cart_display_product name="My Awesome Product" price="29.00" thumbnail="http://www.example.com/images/product-image.jpg" description="This is a short description of the product" thumb_alt="Test alt tag for the thumbnail image"]
Creating a Grid Display With Product Boxes
Check this tutorial to learn how you can stack the product boxes side by side.
Note: We provide technical support for our premium plugins via our customer only support forum
@Chris, The ones for eStore are only available in the WP eStore plugin.
@admin,
Thank you for your reply and I agree with your statement. I should have been more specific and asked if the Simple WP Shopping Cart supports the same Fancy product displays that the WP eStore plugin’s shortcode, such as the examples here: https://www.tipsandtricks-hq.com/ecommerce/stylish-product-display-options-for-wp-estore-829
Thank you for your continued support.
Chris
@Chris, The example you are seeing on this page is for the simple WP Shopping cart.
Great plugin! Thank you for it.
Is it possible to use the Fancy product displays with the Simple WP Shopping cart plugin?
Thanks again.
Yeah you can target the box and specify a color via the CSS.
Hi,
Super nice and simple plugin! Thanks!
Is it possible to change the background color of the product displaybox?
Best Regards
Martin