Post by twdre » Sun Feb 10, 2019 9:22 pm

I Installed the latest version of opencart Version 3.0.3.1 with Journnal 3 Template.

Regarding the reward points.
I have to asign them now manualy on the order page of the customer. ( push the green bottom in the options field on the right top of order page)
I dont know for sure but i thought it was going automaticly before, when the order reach a certain status?

Thnx
Andre

New member

Posts

Joined
Sat Mar 28, 2015 4:52 am

Post by straightlight » Thu Feb 14, 2019 10:27 am

Due to improvement of GDPR, automated tasks is not the best subjects to cover as prior to the time period when Opencart handled the reward points automatically. The reason why manual process may be required nowadays is due to not only reduce the automated tasks but also due to store owners wanting to rebalance the reward point values on the orders based on the providers decision after checking out an order.

This strategy seem to be the most appropriate one to avoid uncontrolled situations whenever store owners needs to negotiate final or alternative approach with their clients.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by fegdeed » Sat Feb 16, 2019 12:14 pm

Is there a way to show the reward points box at view cart page?

New member

Posts

Joined
Fri Sep 21, 2018 12:01 am

Post by straightlight » Sat Feb 16, 2019 10:19 pm

fegdeed wrote:
Sat Feb 16, 2019 12:14 pm
Is there a way to show the reward points box at view cart page?
No OC version posted. However, this request is actually a good idea. Convincing people from the cart page to register for an account or by showing the reward points to customers that already have an account is also another way to manipulate products from the cart page.

Followed is for OC v3.x releases:

In catalog/controller/checkout/cart.php file,

find:

Code: Select all

$this->response->setOutput($this->load->view('checkout/cart', $data));
Add above:

Code: Select all

if ($this->customer->isLogged()) {
				$data['reward'] = sprintf($this->language->get('text_reward'), $this->customer->getRewardPoints());				
			} else {
				$data['reward'] = sprintf($this->language->get('text_register'), $this->url->link('account/register'));
			}
Then, in your catalog/language/<your_language_code>/checkout/cart.php file, at the bottom, you could add something like:

Code: Select all

$_['text_reward'] = 'Total Reward Points: %s';
$_['text_register'] = '<a href="%s">Register an account</a> with us to earn reward points!';
Then, in your catalog/view/theme/<your_theme>/template/checkout/cart.twig file, add anywhere you see fit:

Code: Select all

{% if reward %}{{ reward }}}{% endif %}

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by fegdeed » Tue Feb 19, 2019 2:42 am

Thanks @Straightlight, I have Opencart 3.0.2 and I was talking about showing something like Use Reward Points after Use Gift Certificate at View Cart page. Is that possible?

New member

Posts

Joined
Fri Sep 21, 2018 12:01 am

Post by straightlight » Tue Feb 19, 2019 3:26 am

Describe what the customer should see when using the Reward Points on the view cart page.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by fegdeed » Tue Feb 19, 2019 8:20 am

The customer should see “Use Reward Points” at the view cart page...
So that way, if they have earned reward points, it could give them some kind of a price reduction to buy the product...its kind of like using a coupon...
It is similar to the attached picture below. Currently, I only have Use Coupon Code and Use Gift Certificate, but not Apply Points at both view cart page and checkout page.

Attachments

reward points.png

reward points.png (99.32 KiB) Viewed 310 times


New member

Posts

Joined
Fri Sep 21, 2018 12:01 am

Post by straightlight » Tue Feb 19, 2019 10:19 pm

There's an extension for v1.5x releases but could not find one for v3.x releases: https://www.opencart.com/index.php?rout ... on_id=8880 . However, it can be easily converted into.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by fegdeed » Tue Feb 19, 2019 11:59 pm

Thanks @Straightlight, I came across this extension https://www.opencart.com/index.php?rout ... n_id=28357 for Opencart 3.0.2, everything works except for reward points for some reason.
I checked Extensions > Extensions > Order Totals and Reward Points is enabled, I still haven't figured out what is preventing Apply Reward box from showing...

New member

Posts

Joined
Fri Sep 21, 2018 12:01 am

Post by straightlight » Wed Feb 20, 2019 2:29 am

According to the XML file of that extension, cart.twig file is not included in the process which is why you do not see the feature you'd like to show to your customers from the cart page at this time. I would suggest to contact the extension developer to have it implemented.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by fegdeed » Wed Feb 20, 2019 3:47 am

Thanks @Straightlight, he seems not to be responding to messages at the moment, is there a way to edit the default theme's cart.twig file to make Apply Rewards show on the cart page?

New member

Posts

Joined
Fri Sep 21, 2018 12:01 am

Post by straightlight » Wed Feb 20, 2019 6:20 am

Contact site support if the original developer delays responses from the Marketplace. You can also create a new service request in the Commercial Support section of the forum to get this done as a custom job.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by DigitCart » Wed Feb 20, 2019 6:33 am

Hi
If you want to show "Use reward points" box at checkout page, I have a paid extension for this:
https://www.opencart.com/index.php?rout ... n_id=34685

Thanks

My Extensions / DigitCart


User avatar
Active Member
Online

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by fegdeed » Fri Feb 22, 2019 12:37 am

Thanks @Straightlight and @DigiCart, I will check out your extension.

New member

Posts

Joined
Fri Sep 21, 2018 12:01 am
Who is online

Users browsing this forum: No registered users and 14 guests