Search found 8 matches

Page 1 of 1

Search found 8 matches

Re: Hardcode language?

I got this working by editing index.php and adding the following condition to the Language Detection query;
$query = $db->query("SELECT * FROM " . DB_PREFIX . "language where code='fr'");

I'm guessing there's a more elegant method but I'm in a rush and I can't see any potential issues with this.

Jump to post
  • Mon Mar 11, 2013 6:03 pm
  • Replies 1
  • Views 112
Hardcode language?

Hi, I can't get Multisites working as OC is only a small part of my two sites (uk and fr version) - instead I'd like to 'hardcode' the language of the .fr domain to switch to French automatically. The two sites have their own copies of the files but share a database. Is this possible?

Many thanks!

Jump to post
  • Sun Mar 10, 2013 10:16 pm
  • Replies 1
  • Views 112
Re: [1.5.x] external website 'add to cart' href

Has there been any progress made getting this working for 1.5.4?

Jump to post
  • Wed Mar 06, 2013 1:46 am
  • Replies 20
  • Views 14634
Re: Make Paypal Standard set orders as pending not abandoned

YES IT WORKS! I'm using a VPS and I installed OpenCart through CPanel. When it created the config files it put the URL as being http://shop.com : /store/ - note the colon after the TLD. I stripped all these out, put through a test order and everything worked! I guess the colon was breaking PayPal - ...

Jump to post
  • Tue Jun 05, 2012 10:49 pm
  • Replies 5
  • Views 702
Re: Make Paypal Standard set orders as pending not abandoned

Hi thanks for the reply - I've read the article (and many others on here) but it didn't help. My error log is blank except for a couple of 'permission denied' errors for /store/system/library/session.php. Debug has been on since day #1 as well. Paypal is not even giving a http response code which is...

Jump to post
  • Tue Jun 05, 2012 10:32 pm
  • Replies 5
  • Views 702
Paypal Standard creating orders as abandoned [SOLVED]

I can't fix my IPN problem and think I'll have to give up - I can receive payments through Paypal Standard but all orders are created as 'abandoned'. I have cURL installed and Paypal supposedly uses port 80 for the IPN stuff so I can't see how it could be firewalled. The IPN history on the Paypal si...

Jump to post
  • Tue Jun 05, 2012 10:04 pm
  • Replies 5
  • Views 702
Re: Set language through URL

Ahh I didn't see that one, if I had I wouldn't have been playing around with that response from 2009!

Can't believe it was so simple as well..... thanks! Easy to guess the answer to what would have been my next question as well (?currency=EUR).

Jump to post
  • Fri Mar 30, 2012 9:17 pm
  • Replies 3
  • Views 2179
Set language through URL

Hi I'm jumping ship from oSCommerce and I like the look of OpenCart. One thing I need to be able to do is emulate oSC's ?lang=fr functionality and be able to create links that direct users to the store in a specific language. Is this possible in OpenCart? I'm doing this cause I have seven sites host...

Jump to post
  • Fri Mar 30, 2012 7:57 pm
  • Replies 3
  • Views 2179

Page 1 of 1

Search found 8 matches