To configure which gateways are available on the checkout page, you need to register the gateway and add it's label in your config.neon
file.
Please add following snippet with the (available) gateways you want to use:
services:
# ...
checkoutFormFactory:
setup:
- addPaymentGateway(paypal, "Paypal")
- addPaymentGateway(cardpay, "Credit card")
If you want the customer to agree to the terms and conditions, you need to configure URL in settings (category Shop).
Checkbox with the link to the terms and conditions will be displayed (and required) at the checkout before the customer confirms the order.
Product module can handle orders of ebooks and provides download links in the user's section.
To display the download links of e-books you have to register your own implementation of EbookProviderInterface
in configuration:
ebookProvider:
setup:
- register(Crm\DibukModule\Models\DibukEbookProvider())
And register link on library into user's section menu:
public function registerFrontendMenuItems(MenuContainerInterface $menuContainer)
{
...
$menuItem = new MenuItem($this->translator->translate('products.menu.books'), ':Products:Orders:Library', '', 155);
$menuContainer->attachMenuItem($menuItem);
}
If the VAT rate changes in your country, there is a command that helps you update the system. Schedule it to be executed on the date of VAT change.
products:change_vat --original-vat=X --target-vat=Y
- Command changes all existing products and each affected (
type=product
) payment item. You can test the command before the VAT change date by using--dry-run
and--verbose
options.
- Command changes all existing products and each affected (
DonatedSubscriptionListingWidget
Simple badge showing subscription donor e-mail.
GiftCoupons
Dropdown listing of gift subscriptions with modal detail.
ProductItemsListWidget
Payments listing single payment item widget.
ProductStats
Products stats listing component.