Search found 176 matches

Search found 176 matches

Re: Multi Store Redirect 301

I did also notice that in catalog/controller/common/header.php the urls that dont work in seo_urls are actually constructed differently: $this->data['account'] = $this->url->link('account/account', '', 'SSL'); = Doesn't rewrite $this->data['account'] = $this->url->link('account/account'); = Does rew...

Jump to post
  • Thu Aug 25, 2011 6:55 am
  • Replies 29
  • Views 5628
Re: Multi Store Redirect 301

Yes, sorry I forgot to add that I dont use ssl so as $url_data['scheme'] was empty for those links I just hard coded it. All payments are taken offsite at processor so never felt need for one. Certainly doesn't seem to affect business. I'd still be interested in finding out root cause so may play ar...

Jump to post
  • Thu Aug 25, 2011 6:04 am
  • Replies 29
  • Views 5628
Re: Multi Store Redirect 301

I've hacked together a quick fix which seems to work, so unless you see anything else I can live with it! For info here's my change: in seo_urls.php Find: return $url_data['scheme'] . '://' . $url_data['host'] . (isset($url_data['port']) ? ':' . $url_data['port'] : '') . str_replace('/index.php', ''...

Jump to post
  • Thu Aug 25, 2011 5:50 am
  • Replies 29
  • Views 5628
Re: Multi Store Redirect 301

return $url_data['scheme'] . '://' . $url_data['host'] . (isset($url_data['port']) ? ':' . $url_data['port'] : '') . str_replace('/index.php', '', $url_data['path']) . $url . $query; is not returning the correct url for multistore sites on some links. eg: http://www.domain.co.uk/wishlist ://index.ph...

Jump to post
  • Thu Aug 25, 2011 3:21 am
  • Replies 29
  • Views 5628
Re: Multi Store Redirect 301

Well it looks ike the error is with the seo_urls.php script but not sure where yet! Tried a few things such as: SEO URLS > OFF (All links on all pages/domains now follow normal oc structure.) Turn on SEO Urls and it breaks again. Links in the html are being shown as: <a href="://index.php/my-account...

Jump to post
  • Thu Aug 25, 2011 1:43 am
  • Replies 29
  • Views 5628
Re: Multi Store Redirect 301

Yes I think you're right. I'll have a look later too as im a bit tied up at the moment so hopefully it can be resolved.

Jump to post
  • Wed Aug 24, 2011 9:14 pm
  • Replies 29
  • Views 5628
Re: Multi Store Redirect 301

Yes same here, Just the multi store domains. I hadn't notice before as some worked ok so I guess I just didn't check all of them.

Jump to post
  • Wed Aug 24, 2011 8:39 pm
  • Replies 29
  • Views 5628
Re: Multi Store Redirect 301

I've just noticed an odd issue with my url's and wonder if anyone can see the problem? I am using the following code: RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteR...

Jump to post
  • Wed Aug 24, 2011 6:57 pm
  • Replies 29
  • Views 5628
Re: The page you requested cannot be found!

Why not go download a free template then you can switch templates in system settings and narrow it down to a template issue or not. Once you download a free template you just upload it to oc and change it as per one of Simons previous posts. All in all it should take no longer than 10-15mins.

Jump to post
  • Wed Aug 24, 2011 6:45 am
  • Replies 48
  • Views 15972
Re: The page you requested cannot be found!

Can you confirn that you have deleted ALL the files in system/cache? Sometimes when using ftp software to do this you have to refresh the screen in order to view more cached files. The permissions look ok but how are you checking them? I once had an issue where my ftp client showed one set of permis...

Jump to post
  • Tue Aug 23, 2011 9:58 pm
  • Replies 48
  • Views 15972
Re: The page you requested cannot be found!

Have you also checked you have the correct permissions on the cache folder?

Jump to post
  • Tue Aug 23, 2011 6:10 pm
  • Replies 48
  • Views 15972
Re: [1.5] old way of display of SUB CATEGORIES

Hi, Yes use this: <li><a href="<?php echo $categories[$i]['href']; ?>" alt="<?php echo $categories[$i]['name']; ?>" title="<?php echo $categories[$i]['name']; ?>"><img src="<?php echo $categories[$i]['thumb']; ?>" /></a><br /><a href="<?php echo $categories[$i]['href']; ?>"><?php echo $categories[$i...

Jump to post
  • Tue Aug 23, 2011 9:30 am
  • Replies 28
  • Views 6520
Re: Looking to know if Opencart can do this

I have to agree, this would be far easier using the mod described above and an excel formula or two. You could protect the other cells too so he doesn't mess up any product info. Takes about 10 minutes to set up.

Jump to post
  • Tue Aug 23, 2011 7:26 am
  • Replies 22
  • Views 5365
Re: [1.5]setting the banner time

Hi Steff/Mike, The code above is slightly wrong. Try this: <script type="text/javascript"><!-- $(document).ready(function() { $('#slideshow<?php echo $module; ?>').nivoSlider({ pauseTime:8000, effect:'random', pauseOnHover:true, animSpeed: 1000, }); }); --></script> Note the missing quotes around th...

Jump to post
  • Tue Aug 23, 2011 5:54 am
  • Replies 25
  • Views 26109
Re: The page you requested cannot be found!

Have you tried clearing the system cache just in case? You haven't really said whether you did upgrade and whether the site ever worked before/after the upgrade? A little more info may be useful. (ie if it did work, what changes have been made since)

Jump to post
  • Tue Aug 23, 2011 2:38 am
  • Replies 48
  • Views 15972
Re: OpenCart 1.6.0 Roadmap

Few things already discussed here I would love to see in OC: 1. Batch generate invoices 2. Batch printing invoices 3. Batch update status 4.Autohide option for any category or subcategory which does not have a product. 5.Bulk Product/Category Import/Export added into core 6.A Wizard to do the OpenCa...

Jump to post
  • Mon Aug 22, 2011 7:10 am
  • Replies 538
  • Views 224294
Re: How to use layouts?

Ha,Ha, No probs. You're welcome.
Took me a while to get it but powerful feature when you do. (Esp for multistore)

Jump to post
  • Sun Aug 21, 2011 8:18 pm
  • Replies 6
  • Views 831
Re: How to use layouts?

To have the welcome message on just the home page i have set Welcome Module: Layout: Home Category Module: Layout: Home AND Default This shows the welcome module on only my homepage and the category module on all pages. (If you remove Home Layout then the categories box disappears from the homepage)...

Jump to post
  • Sun Aug 21, 2011 7:41 am
  • Replies 6
  • Views 831
Re: The page you requested cannot be found!

Does this behave the same using default template? I also notice that your htaccess is different to mine: Yours: RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA] Mine: RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] I Don't know enough about rewrites to know if this is the cause but you could qui...

Jump to post
  • Sun Aug 21, 2011 7:28 am
  • Replies 48
  • Views 15972
Re: Multi Store Redirect 301

Oops yes you're right. It has the / in my .htaccess, I just accidentally deleted it when pasting the code here.

Code is: RewriteRule ^old-url.html$ http://%{HTTP_HOST}/new-url.html? [R=301,L]

Thanks again for all your help.

Jump to post
  • Fri Aug 19, 2011 4:12 am
  • Replies 29
  • Views 5628

Search found 176 matches