So, this XML changes all headings, notifications, buttons, etc. from "Cart" to "Basket".
It's basic, but hopefully it will save you some time if you need it.
Enjoy

Dark Flare Design :: http://www.darkflaredesign.co.uk :: Web, Print and Logo Design, Ayr
Live Long and Prosper!
Degsey :-]
Visit us at :
http://www.Supreme-Ink.com
Dark Flare Design :: http://www.darkflaredesign.co.uk :: Web, Print and Logo Design, Ayr
Dark Flare Design :: http://www.darkflaredesign.co.uk :: Web, Print and Logo Design, Ayr
Dark Flare Design :: http://www.darkflaredesign.co.uk :: Web, Print and Logo Design, Ayr
Changes all instances of "Cart" to "Bag".
Dark Flare Design :: http://www.darkflaredesign.co.uk :: Web, Print and Logo Design, Ayr
Hi Glenn, it's probably best explained in this thread: http://forum.opencart.com/viewtopic.php?f=23&t=40987glennjamo wrote:hi
great addition, thanks. im new to opencart, what exactly do i do with xml file?
thanks
glenn
Dark Flare Design :: http://www.darkflaredesign.co.uk :: Web, Print and Logo Design, Ayr
tim@pointreddesign.co.uk | http://www.pointreddesign.co.uk
I appreciate that your revised 'Cart to Basket' mod was provided FOC to me, so if the most reasonable option for me is to hack the files as iNmuto suggest, then just let me know.I've been looking at the Cart to Basket mod you sent me.
At first, I was quite sceptical that it would cause the issue. Until I installed it on my test site and that showed similar results.
After a little digging around, I traced it to the fact that the SEO Keyword extension uses an array stored in a language file and Jay's extension changes cart to basket in ALL language files. It therefore changed the SEO Keyword one too.
The extension relies on this being 'cart' instead of 'basket' therefore the Jay mod will just break it.
My only suggestion is that you stop using Jay's mod and manually change all the 'cart' to 'basket' in the language files.
I've searched the default OpenCart 1.5.6.4 code and have found 18 instances in 12 different files that need changing.
I've attached a file that lists them all.
Please note that you only need to change the word 'cart' to 'basket' in the right hand side of the equal sign. For example:
/catalog/language/english/information/sitemap.php:$_['text_cart'] = 'Shopping Cart';
change the 'Shopping Cart' to 'Shopping Basket', but do NOT change 'text_cart' to 'text_basket' as it's the name of a variable (that is what was happening when using Jay's vqmod with the SEO extension).
Sorry I couldn't fix it so that both work.
Kind regards,
iNmuto
Users browsing this forum: No registered users and 6 guests