Print Page | Close Window

ecommerce widget

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=2095
Printed Date: 07-October-2024 at 11:16am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ecommerce widget
Posted By: mrindian
Subject: ecommerce widget
Date 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?



Replies:
Posted By: Hamish
Date 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;



-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: mrindian
Date 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


Posted By: ProductCart
Date 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 http://www.productcart.com" rel="nofollow - shopping cart software



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net