Product Page
Understanding the attributes needed to capture products into the cart.
Please note that this document is still Work in Progress. It might be updated, revised, or changed entirely in the near future.
pcproduct-nameProduct name
pcproduct-priceProduct price
pcproduct-quantityCaptures the quantity
pcformDefine form element to capture data to bag
pcadd-btnDefine a button that triggers submit action
pcproduct-skuProduct SKU
pcproduct-imageProduct image
pctax-typeDefine product tax type (Product or Service)
pc-customyour-custom-nameCaptures custom product option
pcv-wrapperParent element that is hidden on live link
pcv-itemIdentify collection item
pcv1-selectCaptures variant selector 1
pcv2-selectCaptures variant selector 2
pcv1-nameVariant 1 product name
pcv2-nameVariant 2 product name
pcv-priceVariant product price
pcv-skuVariant product SKU
pcv-stockVariant product inventory
pcv-imageVariant product image
Penni Cart Attributes
pc="form"needs to be placed on Webflow's Form element not Form BlockPenni Cart currently supports two default values for
pc="tax-type", Product & Service that can used within Webflow CMS Collection settings.To display variants you'll need to establish the values that will auto-populate a select field, using
pc="v-item"to set your collection item and establishing values withpc="v1-name"orpc="v2-name",pc="v-price",pc="v-sku",pc="v-stock", andpc="v-image".Use
pc="v-wrapper"to hide the parent wrapper when viewing your site's published link.pc="v1-select"&pc="v2-select"uses the select field's name as the label when added to cart.
Last updated
Was this helpful?