HI Dasha
What is the URL of your site, and which SEO mod are you using?
There has been talk about this problem, but I have never really had a good look at it.
HI Dasha
What is the URL of your site, and which SEO mod are you using?
There has been talk about this problem, but I have never really had a good look at it.
============
Kuroobiya - Personalized Karate Black Belts and Dogi
Kanebo From Japan - Kanebo Cosmetics Direct From Japan
Hey Justin -
Thanks for looking into this for me. The website is http://www.planet3press.com
We are using Simple SEO URL with the latest version of edit cart.
Thanks for your help!
Dasha![]()
Hi Dasha
I had a look at your site (very nice, wow.) I tried selecting a product(Brochures - 8.5 x 14)and setting some attributes. Added it to my cart and then was able to edit it fine.
Do you have Simple SEO installed right now?
============
Kuroobiya - Personalized Karate Black Belts and Dogi
Kanebo From Japan - Kanebo Cosmetics Direct From Japan
Justin-
Thanks for the compliment on the site :)
Sorry i should have clarified. Our site is live so I had to disable the product pages from being in the SEO Optimised URL's because of this issue... sorry that doesn't offer much help.
let me know if you need anything else from me. I'm trying to install it on our test server so I can play around with it with the SEO issue.
Dasha
Hi Dasha
I had a wee look at it, and the news is not good.
It appears that Simple SEO when it tidies up and reformats the URLs. tosses away the information about the previously chosen attributes when it makes the links.
I played around with it. When you put an item in your cart with attributes chosen and then click on the product link in the shopping cart, you are taken to the product info page with all the defaults selected. The attributes you chose are not selected. This means that using such a link with edit cart is meaningless, since the customer would have to reset all their attribute values from scratch again.
The unaltered zencart, shows the options the user selected when they return to the product page from the product link in the shopping cart.
If you tinker with it, I think you will see what I mean. To fix this up you would need to change the way Simple SEO works. Probably not trivial.
If I am wrong please let me know.
Justin
============
Kuroobiya - Personalized Karate Black Belts and Dogi
Kanebo From Japan - Kanebo Cosmetics Direct From Japan
Actually, I just went off and did something else (put down the futons) and then I realized there is a way.
If you alter the link used in the tpl_shopping_cart_default.php template file so that it doesn't go through the Simple SEO mod, then it will work. That will probably mean hacking the /includes/modules/pages/shopping_cart/header_php.php file, though it might be possible to duplicate the default link making function for product info pages into your template file.
If you follow what I am saying then maybe you can make those changes yourself. If not, I can probably do it for you. But we would probably need to have a discussion via PM about it.
Justin
============
Kuroobiya - Personalized Karate Black Belts and Dogi
Kanebo From Japan - Kanebo Cosmetics Direct From Japan
How do we create a link (programmically) that does not get processed by the SSU module? Is there a special call to zen_href_link we can make?
Ryan Cloke
Flipside Technology Services
Justin - Flipside (who just responded before me) is working with us on this issue. Thanks so much for all your help!!
Dasha
SSU takes over the zen_href_link functionality, so you will either need to:
i) find out where SSU does that, and add a hook of some sort, that calls from the shopping cart can make use of to avoid being SSU'd.
or
ii) create a copy of the original zen_href_link function or logic, call it say zen_href_link_nossu, and call that instead from the shopping cart.
They would be the approaches I would look at. To me ii) looks better because you would be able to update SSU in the future without breaking your code. And it might be easier, thout\g without getting into it is hard to say.
Good luck.
============
Kuroobiya - Personalized Karate Black Belts and Dogi
Kanebo From Japan - Kanebo Cosmetics Direct From Japan
Nope... that doesn't solve the issue.
Ryan Cloke
Flipside Technology Services
Bookmarks