monsieurbiz / mbiz_trackingtags
Magento模块,允许在部分页面配置带有可用数据的标签。
0.1.2
2017-05-12 09:57 UTC
Suggests
- magento-hackathon/magento-composer-installer: Allows to manage this package as a dependency.
This package is auto-updated.
Last update: 2024-08-29 04:14:41 UTC
README
此扩展允许您默认在以下页面的底部添加HTML
- 分类视图
- 产品视图
- 首页
- 结账成功
- 购物车
每个标签都由一个过滤器解析,允许您在HTML中放置大量数据。
示例
<!-- Cart items: {{cart items="sku,name"}} Cart items count: {{cart attr="items_count"}} Quote total: {{quote attr="grand_total"}} {{quote attr="quote_currency_code"}} -->
此标签将显示
- 一个包含购物车中的产品(sku + 名称)的JSON对象。当然,您可以在
quote_item中添加所有属性,如:product_id、free_shipping、description、qty、row_total、row_total_incl_tax…… - 购物车中产品的数量。
- 报价的总金额。当然,您可以使用
quote中的所有属性,如:customer_email、customer_dob、customer_is_guest、coupon_code、customer_taxvat、subtotal、subtotal_with_discount……
许可证
查看LICENSE。