zforrest, if you type into the address bar
http://www.mysite.com/index.php?main...ducts_id=70543
does this work?
Thanks,
Scott
zforrest, if you type into the address bar
http://www.mysite.com/index.php?main...ducts_id=70543
does this work?
Thanks,
Scott
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
If you are using any sort of SEO URL modification logic (Chemo's Ultimate URLs, Ultimate SEO URLs, or any other contribution), and you're having trouble with this contribution, please PM me. If I can get a few more specifics, I might be able to figure out the problem.
Thanks,
Scott
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
No. Chemo's urls mod takes that url and turns it into the second url I posted in my previous description of the problem, like so:
http://www.mysite.com/product_info?a...ducts_id=70543
OK. So is a chemo URL
<product name with spaces turned to dashes>-p-<product id>.html
If so, I will send you a patch.
Scott
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
That is essentially how the url looks. However, there are some settings that allow you to filter out smaller words (such as a, the, etc.).
If this mod used the zen href function to pull the correct product link it would solve the problem, I believe.
On a side note, what the mod really looks for is the -p-<product id>.html. So you can type anything into the browser of a cart using ultimate seo http://(the domain)/blahblahblahblah-p-100.html, and it will still redirect the customer to product id # 100. My point is, all that really matters is the -p-<product id>.html, the rest is search engine candy.
Anyways, I hope that helps.
Ok, I just installed it and it appears to work fine the Ultimate SEO and it correctly constructs the url using the zen href link function.
Thanks.
Thank you, voltage. So we're down to: works with Ultimate SEO, doesn't work with Chemo's URLs. I will cook up a test fix for Chemo's URLs with this new information.
Thanks,
Scott
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
zforrest, would you please try this change? In tpl_social.php, please change line 5 from
$linkpath = zen_href_link(zen_get_info_page($_GET['products_id']) , 'products_id=' . $_GET['products_id'], 'NONSSL', false);
to
$linkpath = HTTP_SERVER . DIR_WS_CATALOG . "product-p-" . $_GET['products_id'] . ".html";
and let me know if it works? If it does, I'll add a define for Chemo URLs to include this code.
** THIS IS ONLY FOR PEOPLE USING CHEMO URLS; others please do not make this change!
Thanks,
Scott
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
Bookmarks