Delivery reward points automatically.!
One of the worst details of opencart is that when a user buy a product with reward points, head to:
Orders ---> details of order and look up the word [add rewards points]
Do this for each user! ??
NO MORE! WITH AUTO REWARDS POINTS!
Its over!
Now the points will be divided automatically into the customer's account when the customer buys a product and the order is in status "completed"
Instruction:
1) Unzip points.zip
2) Open - points/upload/points.php
3) Find string $completed_status_id = 1;
(change 1, to your order ID = status completed)
How to get ID:
Open your website hosting - database: phpmyadmin
Structure and find table = oc_order_status
Find - Order completed (order_status_id)
4) save points.php and put this file in your /httpdocs
5) open this file - https://domain-name.com/points.php
and wait 1-60 second.
(The script has completed execution.)
All orders with the status "Order Completed" will automatically receive bonus points!
To ensure that users automatically receive bonus points every day, you need to add this file to the cron and configure it to run daily at 11:00 PM.
Login and write down your comment.
Login my OpenCart Account