[wcj_product_short_description]

Display WooCommerce product short description

Description

[wcj_product_short_description] shortcode displays WooCommerce product short description.

Args

product_id
(optional) The integer ID for a product.

Default: The current product ID, if exists
before
(optional) Text to place before the content. If content is empty this argument is ignored.

Default: None
after
(optional) Text to place after the content. If content is empty this argument is ignored.

Default: None

Examples

[wcj_product_short_description before="Product short description: "]
Accessible through:
  • [wcj_product_short_description]
Tested on WooCommerce 3.5.2 and WordPress 5.0
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply

Comments

5 Comments

  1. samneal@btinternet.com October 12, 2018 at 2:57 pm #

    Hello, when i change to the “product_short_descriptions” code, the table cells mess up, all over the place!
    I only changed the “item_name” in the pdf_invoice_items_table on the template for the pdf invoice?

    Reply to thread

    • RokasJ October 12, 2018 at 9:49 pm #

      Hi,

      Can you make sure you have used product_short_description column in product items table instead of the shortcode [wcj_product_short_description]? Also, could you share the table template so I could take a look?

      Best regards,
      Rokas – Support Team

    • samneal@btinternet.com October 15, 2018 at 10:28 am #

      I have it shorted now, thank you

  2. sam neal November 22, 2018 at 11:39 am #

    Hi, I had all my documents set up using the “product_short_decription” shortcode in the product table, they were working fine, i have just gone to issue one and the “product_short_description cells” are not working, in fact they are rendering the whole table to blank. If i replace that code with “item_name” it works but obviously without the main description? I need the main descriptions.
    I have emailed this and the templates to you as well

    Reply to thread

    • sam neal November 23, 2018 at 11:10 am #

      Keep trying to get this to work, can get other shortocodes to work fine in that column, just not product short description….?