Post by ilovelife » Mon Mar 16, 2015 7:44 pm

Greetings to everyone,

I have a request for you OpenCart community

I want to replace the standard confirming message that your product has been added to cart and the redirect to up the green picture of OpenCart with the one i want and founded in prestashop standard :(

Is there a way or any solution to do that for a custom theme as that of my website

Thank you in advance

Gabriel

Attachments

addtocart.jpg

addtocart.jpg (15.73 KiB) Viewed 181 times

prestaaddtocart.jpg

prestaaddtocart.jpg (75.85 KiB) Viewed 181 times


New member

Posts

Joined
Thu Oct 30, 2014 5:53 pm
Location - Bucuresti Sector 3

Post by BrettMW » Tue Mar 17, 2015 6:25 am

Hi Gabriel,

You can achieve this by editing the following file (replace <language> with the name of the language you are using):
catalog/language/<language>/checkout/cart.php

Find the line that looks similar to this:

Code: Select all

$_['text_success'] = 'Success: You have added <a href="%s">%s</a> to your <a href="%s">shopping cart</a>!'
And change the message there.

Hope this helps.

Website | Follow us on LinkedIn


User avatar
New member

Posts

Joined
Thu Feb 19, 2015 10:03 am

Who is online

Users browsing this forum: No registered users and 8 guests