Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using pay with rewards points in Cart #2316

Closed
BillyBoyle opened this issue Nov 21, 2014 · 1 comment
Closed

Using pay with rewards points in Cart #2316

BillyBoyle opened this issue Nov 21, 2014 · 1 comment

Comments

@BillyBoyle
Copy link

If a logged in customer wishes to use their rewards point to pay fully or partially for goods in the basket.
The apply rewards points button does not redirect back to the cart.

original line from catalog/controller/checkout/reward.php
$json['redirect'] = $this->url->link($this->request->post['redirect']);

Changed with line from catalog/controller/checkout/shipping.php
$json['redirect'] = $this->url->link('checkout/cart');

seem to have fixed it for me as points are now deducted from total.

could this be check by someone who knows what they are doing.

@danielkerr
Copy link
Member

i have no complaints from anyone else nor have you actually reported any problem here. you have only said that the cart is not redirecting back to the cart page after applying points.

yet the only place to enter reward points is the cart page.

this is the actual code:

        if (isset($this->request->post['redirect'])) {
            $json['redirect'] = $this->url->link($this->request->post['redirect']);
        } else {
            $json['redirect'] = $this->url->link('checkout/cart');  
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants