A Silverstripe 4 module which integrates with Chec
This module adds a
[BuyNow][/BuyNow] shortcode to the Silverstripe CMS which can integrate with
Chec Platform in order to display a "buy now" button for your Chec products, with an
integrated checkout window.
This project is a fork of fspringveldt/silverstripe-checio-integration which should be used for SilverStripe 3.x projects.
- PHP ^7.3
- Silverstripe CMS ^4.5
composer require robbieaverill/silverstripe-chec
Placing this before the closing body tag (e.g.
themes/templates/Page.ss ensures that it always gets loaded.
The below short code should be placed in your the content section of your CMS page editor window:
[BuyNowButton,permalink="<your product permalink>"]<your button text>[/BuyNowButton]
<your product permalink> with your Chec product permalink and
<your button text> with the text you want
displayed in your button/link. You may also add a
class="..." attribute to the permalink to control the classes
added to the button when it is rendered.
Robbie Averill email@example.com