ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - ecommerce widget
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ecommerce widget

 Post Reply Post Reply
Author
Message
mrindian View Drop Down
Newbie
Newbie


Joined: 31-October-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrindian Quote  Post ReplyReply Direct Link To This Post Topic: ecommerce widget
    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?
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 31-October-2008 at 11:05pm
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;

Back to Top
mrindian View Drop Down
Newbie
Newbie


Joined: 31-October-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrindian Quote  Post ReplyReply Direct Link To This Post Posted: 01-November-2008 at 1:52am
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
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 03-November-2008 at 6:15am
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.
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.