21 | {l s='Your order on %s is complete.' sprintf=[$shop_name] d='Modules.Cashondelivery.Shop'}
22 | {l s='You have chosen the cash on delivery method.' d='Modules.Cashondelivery.Shop'}
23 | {l s='Your order will be sent very soon.' d='Modules.Cashondelivery.Shop'}
24 | {l s='For any questions or for further information, please contact our' d='Modules.Cashondelivery.Shop'} {l s='customer support' d='Modules.Cashondelivery.Shop'}.
25 |
26 |
--------------------------------------------------------------------------------
/tests/UI/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3.7'
2 |
3 | services:
4 | prestashop:
5 | image: prestashop/prestashop:${PS_VERSION}-apache
6 | container_name: prestashop
7 | depends_on:
8 | - mysql
9 | environment:
10 | - PS_DEV_MODE=1
11 | - PS_DOMAIN=localhost
12 | - PS_LANGUAGE=en
13 | - PS_COUNTRY=fr
14 | - PS_INSTALL_AUTO=1
15 | - PS_FOLDER_ADMIN=admin-dev
16 | - PS_FOLDER_INSTALL=install-dev
17 | - PS_USE_DOCKER_MAILDEV=0
18 | - ADMIN_MAIL=demo@prestashop.com
19 | - ADMIN_PASSWD=prestashop
20 | - DB_SERVER=mysql
21 | - DB_USER=prestashop
22 | - DB_PASSWD=prestashop
23 | - DB_NAME=prestashop
24 | volumes:
25 | - type: bind
26 | # Local Path
27 | source: ../../
28 | # Mount Path
29 | target: /var/www/html/modules/ps_cashondelivery
30 | ports:
31 | - 80:80
32 | mysql:
33 | image: mariadb:lts
34 | container_name: prestashop-mysql
35 | healthcheck:
36 | test:
37 | [
38 | 'CMD',
39 | 'mysqladmin',
40 | 'ping',
41 | '--host=localhost',
42 | '--user=prestashop',
43 | '--password=prestashop',
44 | ]
45 | interval: 5s
46 | timeout: 10s
47 | retries: 5
48 | environment:
49 | - MYSQL_HOST=mysql
50 | - MYSQL_USER=prestashop
51 | - MYSQL_PASSWORD=prestashop
52 | - MYSQL_ROOT_PASSWORD=prestashop
53 | - MYSQL_PORT=3306
54 | - MYSQL_DATABASE=prestashop
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Cash on delivery (COD)
2 |
3 | ## About
4 |
5 | Accept cash payments on delivery to make it easy for customers to purchase on your store.
6 |
7 | ## Compatibility
8 |
9 | PrestaShop: `1.7.6.0` or later
10 |
11 | ## Multistore compatibility
12 |
13 | This module is compatible with the multistore :heavy_check_mark: