Commerce

The Commerce HAPI component will pull data related to Products/Orders from the Control Panel

The one data-pv-type value is:

  1. shop - this provides the data on products set up in the Control Panel

<div data-pv-component="commerce" data-pv-type="shop" data-pv-object="abc">
    // Some code
</div>

The code above has data-pv-object so you will be able to see all data pulled by typing "abc" into the developer console.

Last updated