jvbh Posted November 29, 2017 Share Posted November 29, 2017 Hi there — I'm using CC in perhaps a slightly unusual way; we don't accept payments through CC, rather we contact the customer after they order with instructions for paying via PayPal. Before upgrading to 6.1.9, when a customer placed an order, a confirmation page on the site would display, with a custom message saying that their order was received and they would be receiving payment instructions by email. That message no longer displays; it's replaced with a standard/stock "no payment method has been defined" message (which is how the site intentionally works, not a problem in itself). Where can I find the option to edit that message, and replace it with custom text? Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 29, 2017 Share Posted November 29, 2017 In admin, Languages, click the Edit icon of the language(s) you wish to change. From the drop-down selector, choose Gateway. Shortly, a list of phrases will appear. Scroll to 'none_defined' and change to the desired phrase. Click the Save button. Changes will be databased and therefore will survive an upgrade. Quote Link to comment Share on other sites More sharing options...
jvbh Posted December 4, 2017 Author Share Posted December 4, 2017 I found the 'none_defined' option and changed the phrase, but I'm still getting the old message upon checkout. I've cleared the cache and tried a different browser; same thing... any idea what is going on? Thanks for your help! Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 4, 2017 Share Posted December 4, 2017 (edited) Please recall which language you modified. Then, in admin, Store Settings, Advanced tab, enable CubeCart's debug mode and enter your IP address in the adjacent field (www.whatismyip.com). When you visit the storefront, at the bottom of the page, there will be a debug section of data. In Session, determine what language is being used. Did you edit that language? Edited December 8, 2017 by bsmither Quote Link to comment Share on other sites More sharing options...
jvbh Posted December 8, 2017 Author Share Posted December 8, 2017 I edited "English (UK)" as that was the only language option (the store is based in the UK). However, when I enabled debugging and checked the storefront, it does list the language as "En-US". The new checkout message doesn't seem to be appearing for anyone, anywhere (we've checked with users in a number of countries, including the UK.) Is there a way to edit a language if it isn't listed? Or could something else be going on? Thanks for all your help, very appreciated! Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 8, 2017 Share Posted December 8, 2017 Something else must be going on. In admin, Manage Extensions, scroll to the Languages listing. This will show all language packs seen in CubeCart's /language/ folder. (Editing these files is not the preferred method of changing phrases.) Compare the enabled status of each with what is shown in admin, Languages. These lists should be the same (with the addition of "Master Language File"). Quote Link to comment Share on other sites More sharing options...
jvbh Posted January 8, 2018 Author Share Posted January 8, 2018 Both Manage Extensions and Languages show English (UK) as the only option. That's the one I edited, but it still isn't working... any further ideas?? Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 9, 2018 Share Posted January 9, 2018 Using a programmer's text editor, find the skin template /skins/YOUR_SKIN/templates/main.php and at the very end of the file, add: {debug}. Everyone can see this, so be sure to have this as part of the template for only as long as you need. When you request a page, the browser will want to throw a popup to display. Let it. This is a list of all Smarty template variables. When you get to the page where you expect to see the changed phrase, but see the original phrase, look at the $LANG array. Scan for the key 'none_defined'. (It may help tremendously if your browser has a Find function.) The key may exist in more than one main array element. It may exist in a module's array element in $LANG. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.