Commerce Add To Cart Filter

Component ID

1529624

Component name

Commerce Add To Cart Filter

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1204

Component created

Component changed

Component body

This module provides a simple text filter which can be used to provide Drupal Commerce "Add to cart" buttons within your node content.

Syntax is simple (at the moment):

[product-button:PRODUCTID title=BUTTONTEXT]

Example

[product-button:1 title=Become a subscriber]

Becomes

Output example

By default 1 item is added to the cart when the button is clicked, If there is further interest in this module the syntax can be expanded so buttons can be further customised.

Sponsored by ImageX Media.