monsieurbiz/mbiz_trackingtags

Magento module which allows to configure tags on some pages with available data.

Installs: 127

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 5

Forks: 2

Open Issues: 1

Type:magento-module

0.1.2 2017-05-12 09:57 UTC

This package is auto-updated.

Last update: 2024-03-29 03:19:40 UTC


README

This extension allows you to add HTML in the bottom of the following pages by default:

  • Category view
  • Product view
  • Homepage
  • Checkout success
  • Cart

Each tag is parsed by a filter which allows you to put a lot of data in your HTML.
Example:

<!--
Cart items: {{cart items="sku,name"}}
Cart items count: {{cart attr="items_count"}}

Quote total: {{quote attr="grand_total"}} {{quote attr="quote_currency_code"}}
-->

This tag will display:

  • A JSON object with the products (sku + name) in the cart. Of course you can add all the attributes in the quote_item like: product_id, free_shipping, description, qty, row_total, row_total_incl_tax
  • The number of products in the cart.
  • The grand total of the quote. Of course you can use all the attributes in the quote like: customer_email, customer_dob, customer_is_guest, coupon_code, customer_taxvat, subtotal, subtotal_with_discount

License

See LICENSE.