ecommerce widget |
Post Reply |
Author | |
mrindian
Newbie Joined: 31-October-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 31-October-2008 at 10:21pm |
Hello,
I had the ecommerce widget working on my website. But today - I renamed my folder "ProductCart" to "indian-motorcycles" In an effort to SEO the URL. I made the changes to product cart and it's working perfectly. But this widget stopped working. It's returning the correct url in the code - but it comes up with a 404 error? generated code: <script type="text/javascript" src="http://www.starklite.com/indian-motorcycles/pc/pcSyndication.js"> </script> Any ideas? |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi,
Take a look in the file: http://www.starklite.com/indian-motorcycles/pc/pcSyndication.js and you will see a line that is still referring to the productcart directpry, which will also need updating : var pcv_ad_src = "http://www.starklite.com/productcart/pc/pcSyndication_ShowItems.asp?idaffiliate="+idaffiliate; |
|
mrindian
Newbie Joined: 31-October-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Thanks - that worked - made the change in the .js file
Just curious though as why pc did not automatically update the file? I checked the docs and they did not mention ever changing the path in the file? Oh well works for now until I install 3.5 when it's ready... Thank You, Gary Stark |
|
ProductCart
Admin Group ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
The file is created "on the fly" by ProductCart. We reviewed the code and it does load the ProductCart folder name (stored in "includes/productcartfolder.asp"). So, simply make sure to re-generate the Widget when/if you change the ProductCart folder name.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |