Hello,
Hope you guys can help me, I'm an c# .net developer, I donk know much about PHP...
I have this extension - http://www.opencart.com/index.php?route ... n_id=23213 - It work great! But my client complained about the Manufacturers link. It goes like this: mystore.com/manufacturer-m1, mystore.com/manufacturer-m2. He asked me to loose the -m1, -m2, -m3...
Is there a way to edit this extension so I can remove this from the manufacturer links?
Thanks in advance!
Hope you guys can help me, I'm an c# .net developer, I donk know much about PHP...
I have this extension - http://www.opencart.com/index.php?route ... n_id=23213 - It work great! But my client complained about the Manufacturers link. It goes like this: mystore.com/manufacturer-m1, mystore.com/manufacturer-m2. He asked me to loose the -m1, -m2, -m3...
Is there a way to edit this extension so I can remove this from the manufacturer links?
Thanks in advance!
It looks like they append the id to the keyword. Do a string search for manufacturer_id in the xml file and remove it.
Possibly 'm-'. somewhere in front of it.
You'd have to change the oc_url_alias table as well.
If the core system is unafected you might be good by only removing the m-xx from said table, keyword column.
Hopefully you find it useful
Possibly 'm-'. somewhere in front of it.
You'd have to change the oc_url_alias table as well.
If the core system is unafected you might be good by only removing the m-xx from said table, keyword column.
Hopefully you find it useful
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
That will not work (only removing m1...mx) because this is a 'shortcut' to the real manufacturers name!
Otherwise the database will not find the real entry.
m(x) stand always for a manufacturer (apple = 1, samsung = 2, etc.)
Otherwise the database will not find the real entry.
m(x) stand always for a manufacturer (apple = 1, samsung = 2, etc.)
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
That's why I said, remove it from the db
If the extension didn't fiddle with seo_url.php it should work.
url_alias_id | query | keyword
-------------| manufacturer_id=20 | apple-m20
apple-m20 might as well be 'i-like-icecream' so removing -m20 has no effect other than the desired effect.
If the extension didn't fiddle with seo_url.php it should work.
url_alias_id | query | keyword
-------------| manufacturer_id=20 | apple-m20
apple-m20 might as well be 'i-like-icecream' so removing -m20 has no effect other than the desired effect.
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
Who is online
Users browsing this forum: No registered users and 2 guests