After two weeks of on and off ecommerce research I've decided that OpenCart has just about everything I'm looking for. You guys have done an outstanding job of providing a sensible solution for small businesses!
I've got the default OpenCart 0.7.9-RC5 up and running and everything's looking pretty except some of the URLs. I've set the "Use URL alias" in the admin panel to "Yes." My .htaccess file is present and functioning properly. Maybe I just don't know how to use the alias feature?
Here is my test shop:
And this is what I typed into the URL Alias fields that didn't work:
URL Query: category/path/3
URL Alias: bracelets
Everything else is working great.
Let me know if you need more info...
I've got the default OpenCart 0.7.9-RC5 up and running and everything's looking pretty except some of the URLs. I've set the "Use URL alias" in the admin panel to "Yes." My .htaccess file is present and functioning properly. Maybe I just don't know how to use the alias feature?
Here is my test shop:
And this is what I typed into the URL Alias fields that didn't work:
URL Query: category/path/3
URL Alias: bracelets
Everything else is working great.
Let me know if you need more info...
Autogenerator seems to work, but uses some URLs I don't like, such as: http://example.com/opencart_7.9/category/path/3. When I try to change that to http://example.com/opencart_7.9/bracelets.html using the manual URL alias under the admin tab, like so:
query: controller=category&path=3 alias: bracelets.html
it doesn't work.
query: controller=category&path=3 alias: bracelets.html
it doesn't work.
no no .. not the remastered urls.... there is an actual url generator contrib that converts:
url.com/cart/index.php?controller=account_create
to
url.com/cart/create-account.html
and
url.com/cart/index.php?controller=category&category_id=1
to
url.com/cart/bracelets.html
and
url.com/cart/index.php?controller=product&product_id=1
to
url.com/cart/Diamond-bracelet-1.html
But I'm currently reworking it to work for 0.7.9 RC6
url.com/cart/index.php?controller=account_create
to
url.com/cart/create-account.html
and
url.com/cart/index.php?controller=category&category_id=1
to
url.com/cart/bracelets.html
and
url.com/cart/index.php?controller=product&product_id=1
to
url.com/cart/Diamond-bracelet-1.html
But I'm currently reworking it to work for 0.7.9 RC6
So is there no way to change the URLs I don't like in 0.7.9 RC5 without downloading the generator contrib? And when might 0.7.9 RC6 be ready? I'll be working on a client's store over the next couple of weeks and want to make sure we've got pretty URLs before going live.
Lets start over. Forget about the url generator for now. Just stick to manual entry.
1. setting url alias to "no", urls will be like this:
mysite.com/shop/controller=category&category_id=1
2. setting url alias to "yes" without any custom aliases, urls will be remastered like this:
mysite.com/shop/category/category_id/1
3. setting url alias to "yes" WITH custom aliases, urls will be like this:
mysite.com/shop/mycategoryname.html
But custom url aliases have to use the raw url format to work. The remastered url doesn't currently do a match for url alias.
So you can't do:
Query: category/category_id/1
Alias: mycategory.html
You have to use:
Query: controller=category&category_id=1
Alias: mycategory.html
1. setting url alias to "no", urls will be like this:
mysite.com/shop/controller=category&category_id=1
2. setting url alias to "yes" without any custom aliases, urls will be remastered like this:
mysite.com/shop/category/category_id/1
3. setting url alias to "yes" WITH custom aliases, urls will be like this:
mysite.com/shop/mycategoryname.html
But custom url aliases have to use the raw url format to work. The remastered url doesn't currently do a match for url alias.
So you can't do:
Query: category/category_id/1
Alias: mycategory.html
You have to use:
Query: controller=category&category_id=1
Alias: mycategory.html
here is the .htaccess file:
# Uncomment this to ensure that register_globals is Off
# php_flag register_globals Off
# URL Alias - see install.txt
RewriteEngine On
# Uncomment this if your URL is not directly related to the physical file paths.
# RewriteBase /shop/
RewriteBase /opencart_7.9/
#OPENCART REWRITES START
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L,QSA]
#OPENCART REWRITES END
# Uncomment this to ensure that register_globals is Off
# php_flag register_globals Off
# URL Alias - see install.txt
RewriteEngine On
# Uncomment this if your URL is not directly related to the physical file paths.
# RewriteBase /shop/
RewriteBase /opencart_7.9/
#OPENCART REWRITES START
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L,QSA]
#OPENCART REWRITES END
Last edited by wolphy on Sun Jan 04, 2009 5:06 am, edited 1 time in total.
There are indeed some problems with the URL alias. I'll take a closer look at it as soon as I have some time.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Thanks for letting me know. I really like OpenCart and plan to stick with it. As a shopping cart newbie though I'm a little concerned with the PayPal issues I've seen discussed here (don't understand all the lingo, so I'm not entirely certain what the issues are). My present client wants an exclusively PayPal shopping cart for her new site. Are most of the PP kinks worked out, or am I making a bad decision to go OpenCart for this particular client?
Overall I think this is a fantastic os product!
Overall I think this is a fantastic os product!
If you do, ensure you check the SVN first, i've done a lot of updates to the URL aliasing recently to make them work far more smoothly, I think we're getting somewhere now.JNeuhoff wrote: There are indeed some problems with the URL alias. I'll take a closer look at it as soon as I have some time.
Further details can be found here: http://code.google.com/p/open-cart/issues/detail?id=125
Thanks all.
Q, I'm basically a designer, so have some intelligence shortcomings when it comes to programming lingo. How do I use the SNV version for my client's site? Is it a totally separate OpenCart version I have to install? Please feel free to treat me like an idiot when responding...
Q, I'm basically a designer, so have some intelligence shortcomings when it comes to programming lingo. How do I use the SNV version for my client's site? Is it a totally separate OpenCart version I have to install? Please feel free to treat me like an idiot when responding...
Who is online
Users browsing this forum: No registered users and 8 guests