• Documentation Search

WooCommerce Builder For Divi

  1. Home
  2. Docs
  3. WooCommerce Builder For Divi
  4. Shortcodes

Shortcodes

With 14 Shortcodes, each one displays a part of the product page, you can use them inside any other module like Tabs, Accordion, and Sliders. All these shortcodes can be used inside products layout, don’t use them anywhere else, they show the data related to the current product.

[wcbd_shortcode type="title"]

To show the current product title.

[wcbd_shortcode type="description" heading="yes"]

For product description.

  • heading: yes/no. Yes is the default, if “no”, the heading title will be removed.

Important: NEVER use this shortcode inside the product description or short description builder/editor.

[wcbd_shortcode type="excerpt"]

For product excerpt.

Important: NEVER use this shortcode inside the product description or short description builder/editor.

[wcbd_shortcode type="price"]

For product price.

[wcbd_shortcode type="rating"]

For product rating.

[wcbd_shortcode type="add_to_cart"]

For quantity and add to cart button

[wcbd_shortcode type="additional_info" heading="yes"]

For product additional information/attributes.

  • heading: yes/no. Yes is the default, if “no”, the heading title will be removed.

[wcbd_shortcode type="reviews" heading="yes"]

For product reviews.

  • heading: yes/no. Yes is the default, if “no”, the heading title will be removed.

[wcbd_shortcode type="related"]

For the default WooCommerce related products block.

[wcbd_shortcode type="upsells"]

For the default WooCommerce upsells products block.

[wcbd_shortcode type="image"]

For product featured image.

[wcbd_shortcode type="gallery" gallery_columns="4" lightbox="yes" link="file" size="thumbnail"]

For product gallery.

  • gallery_columns: Change columns number as you want.
  • lightbox: yes/no. yes is the default to enable lightbox.
  • link: file/none. link the image to the file URL or none, if you enabled lightbox, this must be file.
  • size: thumbnail/medium/large. Image size, thumbnail is the default.

[wcbd_shortcode type="slider"]

For product images slider.

[wcbd_shortcode type="meta"]

For product categories, tags, and SKU.