Skip to content

Product Pricing

Displays the price for a single product on product detail pages. Shows the current price with proper currency formatting, and may include sale prices or variant-specific pricing.

  • Parent block: Must be inside commerce-connect/product-details-page
  • BigCommerce data: Product price, sale price, currency settings
  • settingsId (string) - Settings configuration identifier
    • Default: ""
  • dropzone (string) - Dropzone identifier for block placement
    • Default: ""
  • HTML editing: Not supported
  • Multiple instances: Not allowed (only one per product page)
  • Spacing: Margin control available

This block must be placed inside the Single Product template (Product Details Page block). It cannot be used outside of this context.

From the demo video script, the pricing block typically appears near the top of the product page:

Product Title
→ Product Pricing ← (Price with currency)
[Variant Selector if applicable]
Product Buy Button
Product Description

The pricing block respects the global currency display settings configured in the Commerce Connect plugin settings:

  • Currency symbol (e.g., $)
  • Currency code (e.g., USD)
  • Narrow symbol
  • Spelled out currency name
  • Uses standard block wrapper attributes
  • Dropzone ID applied when specified

The block uses context provided by the parent Product Details Page block:

  • commerce-connect/singleProductRefinedPayload - Simplified product data including price
  • commerce-connect/singleProductFullPayload - Complete product information
  • commerce-connect/singleProductSelectedProduct - Currently selected product variant (for variant-specific pricing)
  • commerce-connect/singleProductDropzones - Available dropzone positions
  • commerce-connect/singleProductIsFetching - Loading state indicator

Pricing data is synced from BigCommerce and stored in WordPress®. When a product’s price changes in BigCommerce, the update syncs to WordPress® automatically.

  • Verify the block is inside a Product Details Page parent block
  • Check that the product has pricing set in BigCommerce
  • Ensure the product data has synced from BigCommerce
  • Check the currency display settings in Commerce Connect plugin settings (Products tab)
  • Verify the BigCommerce store currency configuration
  • Clear cache if pricing format changes aren’t reflecting
  • Ensure the product has variants configured with different prices in BigCommerce
  • Check that the variant selector is present on the page
  • Verify the selected product context is being passed correctly