module.communitygoal.html

The community goal module displays the current progress of a community goal which you have configured within your creator panel on the community goals section.

Variables
Type
Description

module.header

string

The header of the module.

module.communitygoal.image

string

The URL of the image of the community goal hosted on our public CDN.

module.communitygoal.repeatable

boolean

If the community goal is repeatable.

module.communitygoal.times_achieved

string

The number of times the community goal has been reached.

module.communitygoal.description

string

The description of the community goal.

module.bar.style

string

The style of the goal, either striped or animated.

module.displayAmount

boolean

If the amount of the community goal should be displayed on your store.

module.total

string

The total the community goal has currently earned.

module.target

string

The target amount of the community goal.

module.percentage

string

The percentage equivalent of the current total against the target.

Request Variable

If you'd like access to a variable that is not currently available, please let us know.

Last updated