Search found 22 matches

Search found 22 matches

Re: Remove route=common/home?

Bit late to the party, but it seems there are loads of ways to do this. If, like me, you like abit of hackery, you can put this hack into catalog > controller > common > seo_url.php (assuming V1.5.6) find (near bottom): } else { return $link; } replace with: } else { if(strpos($link,'index.php?route...

Jump to post
  • Fri Oct 25, 2013 4:42 am
  • Replies 6
  • Views 4184
Re: Affiliate tracking priority

Oh - this code example implements the Affiliate Industry standard of "Last Click" AKA "First past the post" attribution that every affiliate network worldwide used until recently when "Multi Affiliate Attribution" was standardised (still only a small percentage use that) . I'm sure Daniel states tha...

Jump to post
  • Mon Aug 05, 2013 9:44 pm
  • Replies 11
  • Views 4825
Re: Order Total price round

not 100% sure I understand what your problem is, but round() accepts up to 3 parameters, you're using just one - you'll likely find the answer here: http://php.net/manual/en/function.round.php

Jump to post
  • Thu Oct 18, 2012 3:49 am
  • Replies 4
  • Views 3623
Re: OpenCart 1.5.2 Bug Thread

The country list for oc_country is incorrect (at least 9 years out of date). This means oc_zone is incorrect too. Problem I noticed is that Yugoslavia is still in oc_country but was split into different countries in 2003 - it's regions are still in oc_zone but are now seperate countries with their o...

Jump to post
  • Mon May 14, 2012 10:47 pm
  • Replies 139
  • Views 115197
100% vouchers still require payment details?

Hi We will be giving certain downloadable products away as competition prizes - we would like to just issue a one off code so a customer can get the full price off a certain product. However, when we do this, the customer still needs to checkout through the payment gateway (currently using PayPal). ...

Jump to post
  • Tue Jan 31, 2012 6:26 pm
  • Replies 1
  • Views 244
Re: [1.5.0] Remove Wishlist

...but if the vqmod doesnt work for you and you have a client breathing down your neck holding your paycheck to randsom, manually remove because at the end of the day, you gotta get paid.

Jump to post
  • Sat Oct 22, 2011 8:30 pm
  • Replies 39
  • Views 44804
Re: OpenCart 1.5.1.3 Bug Thread

Dunno if this is a bug, but it seems like a bug to me - I noticed it on all 1.5.x versions Ive tried. During install, if the database password contains anything other than Alphanumeric characters, the installer won't connect to the datebase (step3). EG: Doesn't work: v#d3U&)%C&D7XEj_*5=6-V7QusW Work...

Jump to post
  • Fri Oct 21, 2011 6:04 am
  • Replies 599
  • Views 241361
Re: [1.5.0] Remove Wishlist

There are a few other instances I found (I'm trying to get rid of COMPARE & WISHLIST) in: /catalog/view/theme/YOURTHEME/template/common/header.tpl /catalog/view/theme/YOURTHEME/template/common/footer.tpl /catalog/view/theme/YOURTHEME/template/product/manufacturer_info.tpl /catalog/view/theme/YOURTHE...

Jump to post
  • Tue Sep 13, 2011 3:28 am
  • Replies 39
  • Views 44804
Automatically relate products by Manufacturer

I've created a mod to automatically relate products by Brand/Manufacturer when no other related products are defined - which is great for an Up-sell or a Cross-sell and would even aid relevancy as far as SEO goes. This acts as a fallback if you can't be bothered to relate products together. I've jus...

Jump to post
  • Mon Jun 20, 2011 8:08 pm
  • Replies 1
  • Views 1817
Re: OpenCart and the EU Cookie Legislation

Its a pain in the arse is this new legislation, but we don't really need to worry too much as it's mainly designed to change those re-targeting ads into Opt In instead of Opt Out. you know - those ads that mysteriously seem to know what you've been shopping for lately The IAB are spending a fortune ...

Jump to post
  • Sun Jun 12, 2011 3:31 am
  • Replies 44
  • Views 18129
Re: Is there a reason for all the JS? - discuss

It is AN answer I suppose, but not a very good one and certainly not THE final answer. What would you add between your <noscript> tags? "sorry, we don't want your money because you don't have javascript enabled" - <noscript> isn't going to make the cart work all on it's own, so it's a way to present...

Jump to post
  • Wed Jun 08, 2011 11:41 pm
  • Replies 17
  • Views 2998
Re: Is there a reason for all the JS? - discuss

but you still have the problem that the checkout will not work without js Ah, that is the only real issue, and I agree it is a problem so have done some delving. As far as I can make out , the only reason it will not work with JS is because it has been made that way and the only part of the process...

Jump to post
  • Wed Jun 08, 2011 10:33 pm
  • Replies 17
  • Views 2998
Re: Is there a reason for all the JS? - discuss

W3c: http://www.w3schools.com/browsers/browsers_stats.asp 5% of overall web traffic as of 2 years ago, but, that was before the real handheld and tablet boom. It also depends on the audience of each site really. Like I said, Gadgets it will be lower, B2B or education it would be much higher. One sit...

Jump to post
  • Wed Jun 08, 2011 7:45 pm
  • Replies 17
  • Views 2998
Re: Is there a reason for all the JS? - discuss

SapporoGuy wrote:Now my question is ... how much is jquery affected by having javascripts bad rep?
It's completely affected - jQuery is a javascript library - if JS is off, no jQuery

It is the best library though, wonderful to work with and soooo extensible - I love it

Jump to post
  • Wed Jun 08, 2011 6:30 pm
  • Replies 17
  • Views 2998
Re: Is there a reason for all the JS? - discuss

oooo, good debate - I like! The problem is as business people we have to sell to our markets. If we're selling gadgets, then yeah, fallbacks are pointless as this type of customer is net savvy and love all the funky jQuery stuff. If, like me, you're selling to businesses, then you have to realise th...

Jump to post
  • Wed Jun 08, 2011 5:05 pm
  • Replies 17
  • Views 2998
Re: Is there a reason for all the JS? - discuss

Agreed on the fallback, definitely. It's the way the web is going really - code for everyone if we can I've been going through the code (as I create my custom template) and adding fallbacks where I can. It's a case of rebuilding any forms as if AJAX hadn't been invented, leaving JS to do the job if ...

Jump to post
  • Wed Jun 08, 2011 6:18 am
  • Replies 17
  • Views 2998
Is there a reason for all the JS? - discuss

Hi I'm new to OC but I'm an experienced web developer. One thing I've noticed is that there are alot of JS redirects or JS form submissions, which kind of throw up the question of accessability. Many of these things prevent the user using the back button, or prevent the user submitting forms at all ...

Jump to post
  • Wed Jun 08, 2011 5:20 am
  • Replies 17
  • Views 2998
Re: Add a new page - PLEASE HELP! (shoppica)

The OpenCart documentation sucks really hard doesn't it? Only saving grace are these forums Anyhoo... For your own information pages... In the Admin panel, mouseover "Catalog" and click "Information" You can create new pages in there. Just click the "Insert" button and build the page in the form tha...

Jump to post
  • Wed Jun 08, 2011 4:52 am
  • Replies 3
  • Views 2798
Re: Different backgrounds per category

lol, fair enough. I am a coder by day and by night, sometimes I forget how to communicate with humans :laugh: Basically, decide whether you want a full stylesheet per category, or just change the background. For a full stylesheet: in header.tpl FIND: <link rel="stylesheet" type="text/css" href="cata...

Jump to post
  • Wed Jun 08, 2011 4:39 am
  • Replies 23
  • Views 10687
Re: Help using Company Name throughout the shop

OK, I think I've sussed the first part of it. Looking through the Database structure and the data already available, it seemed to me like I'd have to create this myself, rather than just reference it. So, in catalog/controller/common/header.php , I added this method: public function getCustomerDetai...

Jump to post
  • Wed Jun 08, 2011 2:47 am
  • Replies 1
  • Views 579

Search found 22 matches