[wcj_product_crowdfunding_goal_remaining_progress_bar]

Display WooCommerce product crowdfunding goal remaining as progress bar

Description

[wcj_product_crowdfunding_goal_remaining_progress_bar] shortcode displays sum remaining till WooCommerce crowdfunding campaign goal as HTML progress bar. Shortcode has no required attributes, optional attributes are listed below.

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
visibility
(optional) User visibility. Possible values are WordPress user roles (including custom), e.g. administrator, shop_manager, customer etc.

Default: all
location
(optional) Make shortcode results visible only to customers from specific country (by user IP). Value is two letter country code.

Default: all
site_visibility
(optional) Restrict shortcode output to some pages only. Possible values: single, page, archive.

Default: None
wpml_language
(optional) Restrict shortcode output to certain WPML language only. Possible values are two letter language codes. Can be comma separated list.

Default: None
not_wpml_language
(optional) Restrict shortcode output to exclude certain WPML languages. Possible values are two letter language codes. Can be comma separated list.

Default: None

Examples

[wcj_product_crowdfunding_goal_remaining_progress_bar]
Accessible through:
  • [wcj_product_crowdfunding_goal_remaining_progress_bar]
Tested on WooCommerce 3.2.3 and WordPress 4.8.3
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

2 Comments

  1. Chris Rahe August 1, 2017 at 7:57 pm #

    I’m using the crowdfunding module along with the product info module to display progress on our website, but the numbers and progress bar aren’t changing when someone gets money applied to their “product.” See example at http://100menelkhart.org/?product=chef-alex-strati-tip.

    Reply to thread

    • Chris Rahe August 21, 2017 at 3:15 pm #

      Can anyone help me out with this?