By default, a builder opened through the custom API shows no prices. Add displayPrice to the options you pass to gs_builder.open() and give each size a price, and the builder header shows the price of the currently selected size. Existing integrations are unaffected until you add it.
Turn It On
gs_builder.open({
shop_id: 123,
displayPrice: true,
currencySymbol: '$',
sizes: [
{ id: 1, width: 22, height: 60, price: 18.5 },
{ id: 2, width: 22, height: 120, price: 32 }
]
})
displayPrice— set totrueto show the price. Defaultfalse.currencySymbol— optional. The symbol shown before the price. If you leave it out, your shop's currency symbol is used.priceon each size — the price shown when that size is selected. A size without a price shows no price.
Note
The price shown is for display only. What you charge is still decided by your own store.