ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Changing from lbs to Kg
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Changing from lbs to Kg

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


Joined: 09-January-2008
Location: Canada
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote john123 Quote  Post ReplyReply Direct Link To This Post Topic: Changing from lbs to Kg
    Posted: 01-August-2008 at 9:15am
Hi,
 
I noticed just now that my weight field is in lbs instead of Kg.  I know there was a note in the beginging that said this was an important step and it cannot be changed.  I believe this happened since I was having problems with the SQL script and activation, where I kept going back and forth, I must have forgot about setting that part on the last time when I got it to work.
 
I am still configuring ProductCart and have not went online.  What I have done so far was customizing some of the pages including the header/footer.  I have added all my products.
 
Is there anything I can do now?
 
John
 
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 01-August-2008 at 9:29am
I had a client do the reverse of this when he first started with his site.   Here is the e-mail we received when we asked EI what to do.
 
========================
To let the cart know you wish to use pounds, you will need to manually change the following line in the file "shipFromSettings.asp" located in the /includes/ folder:

From:
private const scShipFromWeightUnit="KGS"

To:
private const scShipFromWeightUnit="LBS"
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: 01-August-2008 at 9:55am
Hi,
  To expand on Greg's answer. There is an FAQ about this :
www.earlyimpact.com/faqs/e-commerce_shopping_cart_questions.asp?faqid=200

There's a section on that about converting the stored weight values & using SQL code to do it. Assuming the values will need converting (I'm not sure either way on that) another approach, which I think would work, would be :-
- Export the product data (Reports > Custom Reports > Reverse Import Wizard) including the weight field.
- Change the constant as per the FAQ & Gregs post.
- CHECK if the weight values are now incorrect.
  - If so, re-import the exported values - if necessary after having updated the spreadsheet values.
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 01-August-2008 at 10:06am
You rock Hamish
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: 01-August-2008 at 10:17am
Hi Greg, I just stumble about a bit LOL - I happened to remember there was an FAQ about it from last time I looked at them. It may even have been created as a result of your original email to EA..
Back to Top
john123 View Drop Down
Newbie
Newbie


Joined: 09-January-2008
Location: Canada
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote john123 Quote  Post ReplyReply Direct Link To This Post Posted: 01-August-2008 at 10:22am
Thanks guys.
 
I just wanted clarify that I added my products to ProductCart but I have not entered the weight fields yet.
 
Does this mean I only need to modify the "shipFromSettings.asp" that greg mentioned above and nothing else?
 
John
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: 01-August-2008 at 10:25am
Hi John,
    In that case, yes, there's no weights to fix.
The export/Import tool could still be useful though as you can add all the details in a simple spreadsheet, which saves navigating through panels etc.
Back to Top
john123 View Drop Down
Newbie
Newbie


Joined: 09-January-2008
Location: Canada
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote john123 Quote  Post ReplyReply Direct Link To This Post Posted: 01-August-2008 at 10:37am

Hi Hamsih,

So there is no difference that I modify the page now vs when I first activated it, correct?
The change I make manually to the file "shipFromSettings.asp" would be same result if I had done it correctly when I activated?
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: 01-August-2008 at 10:49am
I'm pretty sure that's correct, otherwise the FAQ would have additional info on it.  
Back to Top
john123 View Drop Down
Newbie
Newbie


Joined: 09-January-2008
Location: Canada
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote john123 Quote  Post ReplyReply Direct Link To This Post Posted: 01-August-2008 at 3:53pm
Thanks.
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.063 seconds.