Penni Cart Docs
  • Introduction
    • Quick Connect
  • Attributes
    • Navigation
    • Product Page
    • Cart
    • Checkout
    • Bag
  • Components
    • Product Page
    • Bag
    • Cart
    • Checkout
  • Templates
    • Product Page
    • Bag Templates
    • Cart Templates
    • Checkout Templates
  • Managing Your Store
    • Dashboard
      • Payments
      • Coupons
      • Tax
      • Shipping
      • Account
      • Invoice
    • Payment Gateways
      • Stripe
      • Elavon
      • Authorize.net
  • Zapier Integration
Powered by GitBook
On this page

Was this helpful?

  1. Attributes

Bag

Understanding the attributes needed to display your products throughout the website.

PreviousCheckoutNextComponents

Last updated 1 month ago

Was this helpful?

Please note that this document is still Work in Progress. It might be updated, revised, or changed entirely in the near future.

All attribute names will start with pc for the "Name" inside the Webflow Designer

Any changes made to the bag requires an additional step aside from publishing your changes on Webflow; this is to sync and overwrite the bag stored in the backend of Penni Cart.

To do this, simply navigate to the Webflow Apps panel and launch Penni Cart. From here you'll find a 'Publish" button on either the Templates or Components where it'll live under section covering the Bag.

Once everything is all synced to the backend, you can publish the changes on Webflow like usual and view the bag for review.

You avoid using your using placeholder text on the bag-title, implementing the following attribute will overwrite the text when viewing your design. This will act as the new default state when nothing new is added to the bag.

Name
Value
Description

Defines the default text for the bag label

Value
Description
Required

Define element for the background of the bag when opened

Element to display text when bag receives a new item or acts as a label

Parent element for all bag items to dynamically render

Define a element as the bag item to template from

Bag product image

Bag product name

Bag product sku

Bag product price

Bag product quantity

Element to remove the current bag item

Define a element to proceed to cart page

Define a element to proceed to checkout page

data-pc-default
any
bag-background
bag-title
bag-product-list
bag-product
bag-product-image
bag-product-name
bag-product-attributes
bag-product-price
bag-product-quantity
bag-product-remove-button    
bag-view-bag-button
bag-checkout-button