Skip to content

remp2020/crm-products-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRM Products Module

Translation status @ Weblate

Configuration

Payment gateways

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")

Terms and Conditions URL

If you want the customer to agree to the terms and conditions, you need to configure URL in settings (category Shop).

Terms and conditions URL - settings

Checkbox with the link to the terms and conditions will be displayed (and required) at the checkout before the customer confirms the order.

Terms and conditions URL - displayed at checkout

E-books

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);
}

Books library link

Components

DonatedSubscriptionListingWidget

Simple badge showing subscription donor e-mail.

alt text

Source code

How to use

GiftCoupons

Dropdown listing of gift subscriptions with modal detail.

alt text

alt text

Source code

How to use

ProductItemsListWidget

Payments listing single payment item widget.

alt text

Source code

How to use

ProductStats

Products stats listing component.

alt text

Source code

How to use