Ship to address at checkout
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=3318
Printed Date: 01-November-2024 at 1:38am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Ship to address at checkout
Posted By: dreamhonda
Subject: Ship to address at checkout
Date Posted: 30-December-2009 at 1:54pm
In ProductCart v3.1a PPD in the Shipping Settings area, I am unable to select the "Allow customers to ship orders to an address other than the billing address" option in the control panel. When I do select it, it returns an error message that requires me to complete the Ship From section first. When I complete that section, it allows me to save the "Allow customers to ship orders to an address other than the billing address." option normally, but the button is unchecked when I return to that settings page. It appears something is overriding my ability to offer that option. Can anyone help?
|
Replies:
Posted By: ProductCart
Date Posted: 30-December-2009 at 9:19pm
Make sure that the "includes" folder has read/write/delete permissions. It sounds like one of the settings files is not getting properly updated.
------------- The ProductCart Team
Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software
|
Posted By: dreamhonda
Date Posted: 31-December-2009 at 1:14pm
Thanks for the help. I'll start there. All other functions withjin the control panel seem to work just fine. Wouldn't those not work if there were permissions issues? Are each of the settings in a separate folder?
|
Posted By: Hamish
Date Posted: 31-December-2009 at 2:59pm
Hi, It's most likely to be a permissions issue. Some configuration details are stored in files as well as the DB for performance reasons. It's only those that would show any strange behaviours and there are only a few pages that use this feature, most, if not all, of those impacted are under the settings menu.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: dreamhonda
Date Posted: 01-January-2010 at 3:34pm
All files under the includes folder have read/write/execute permissions. Could you point me to another place that might be causing this?
|
Posted By: RedLeafDev
Date Posted: 12-January-2010 at 3:37pm
I am also having this issue. Did you ever resolve this? Are you using version 4?
|
Posted By: RedLeafDev
Date Posted: 12-January-2010 at 3:48pm
Actually, dreamhonda, I just resolved it myself. For those of you having this issue - I found the file /productcart/includes/ppd_status.inc and changed from 0 to 1 (we are running parent paths disabled). Hope this helps!
|
Posted By: ProductCart
Date Posted: 12-January-2010 at 4:02pm
That's strange. That file is always, by default set to 1 when you use the files from the PPD version of ProductCart. What is the name of the ZIP file that you unzipped and that contained the "Parent Paths Disabled" folder in which "ppd_status.inc" was not set to 1?
------------- The ProductCart Team
Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software
|
Posted By: RedLeafDev
Date Posted: 12-January-2010 at 4:19pm
It was productcart_bto_v4_122109.zip
|
Posted By: dreamhonda
Date Posted: 12-January-2010 at 4:31pm
I have not resolved it, and wish I could. Seems like it is something the Product Cart people would know about. When the first suggestion wasn't the problem, no one suggested another fix. I inherited this site, so I don't know if it is a programming issue caused by the programmer, but will probably have my customer find another solution for their shopping cart. By the way, ppd was set to 1, so that isn't the problem on my end.
|
Posted By: RedLeafDev
Date Posted: 12-January-2010 at 4:45pm
If you have FTP access... pull down the shipFromSettings.asp file from the /productcart/includes/ folder. Find private const scAlwAltShipAddress and change the setting manually to "1". Then, reupload the file and let me know if that fixes it. If not, let me know what it was set to...
Amy
|
Posted By: ProductCart
Date Posted: 12-January-2010 at 4:46pm
dreamhonda, please open a support ticket.
------------- The ProductCart Team
Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software
|
Posted By: dreamhonda
Date Posted: 12-January-2010 at 5:38pm
I just did that. I no longer get the error message in the control panel regarding having to select the shipping from address, but the alt shipping address radio button won't stay selected after I save the file. The setting of scAlwAltShipAddress was 0. I changed it to 1, but it is automatically reverting back to 0 after I save the setting in control panel. This is version 3.1a if I didn't mentioned it before.
|
Posted By: RedLeafDev
Date Posted: 12-January-2010 at 7:50pm
Yes, 3.1a, got it. You should submit a support ticket. But here are some other things to try. So, you verified that the permissions were correct on the includes folder, right? The next thing to check are 2 files - pcAdminRetrieveSettings.asp and pcAdminSaveSettings.asp - these files actually write the shipFromSettings.asp file that you are having an issue with. Check for comments (changes that the other developer may have made). Try to change another setting on that form and see if it "sticks". Then check to see what values are being passed from the form to the submit page. Let me know what you find.
|
Posted By: dreamhonda
Date Posted: 12-January-2010 at 8:02pm
RedLeafDev wrote:
Yes, 3.1a, got it. You should submit a support ticket. But here are some other things to try. So, you verified that the permissions were correct on the includes folder, right? The next thing to check are 2 files - pcAdminRetrieveSettings.asp and pcAdminSaveSettings.asp - these files actually write the shipFromSettings.asp file that you are having an issue with. Check for comments (changes that the other developer may have made). Try to change another setting on that form and see if it "sticks". Then check to see what values are being passed from the form to the submit page. Let me know what you find. |
Thanks RedLeafDev. That helps. If I don't find anything there, I'll get a ticket submitted. I am just frustrated. I'll check those files and post what I find. I am not really a developer, but know my way around lots of different codes pretty well.
|
Posted By: dreamhonda
Date Posted: 12-January-2010 at 9:28pm
dreamhonda wrote:
[QUOTE=RedLeafDev]Yes, 3.1a, got it. You should submit a support ticket. But here are some other things to try. So, you verified that the permissions were correct on the includes folder, right? The next thing to check are 2 files - pcAdminRetrieveSettings.asp and pcAdminSaveSettings.asp - these files actually write the shipFromSettings.asp file that you are having an issue with. Check for comments (changes that the other developer may have made). Try to change another setting on that form and see if it "sticks". Then check to see what values are being passed from the form to the submit page. Let me know what you find. |
RedLeafDev: I looked at both of those files. There is nothing obvious in them that would tell me there is a problem there. The code in those particular files is out of my league. Someone would have to point me to a specific line of code in this case.
|
Posted By: dreamhonda
Date Posted: 12-January-2010 at 10:03pm
P.S. to above message RedLeafDev: yes, all the includes files have read, write, execute permissions and the above files do as well.
|
Posted By: RedLeafDev
Date Posted: 14-January-2010 at 4:07pm
Sorry for the delay in responding.
I actually pointed you in the wrong direction - the file that saves those settings is in the includes folder and is called PageCreateShipFromSettings.asp.
Check the following lines:
Around line 39 (give or take):
pAlwAltShipAddress=Session("pcAdminAlwAltShipAddress") if pAlwAltShipAddress="" then pAlwAltShipAddress="0" end if
Around line 143:
Body=Body & "private const scAlwAltShipAddress="&q&pAlwAltShipAddress&q&CHR(10)
If you do not see that code in the file then that is your problem. Also, are there other settings on that page that work and this is the only one that doesn't? Try checking the box for "Display product weight on the product's detail page. " and see if that "sticks".
|
Posted By: RedLeafDev
Date Posted: 14-January-2010 at 4:08pm
Oh yeah, you could private message me your email address with more information if you would like me to look at the files for you.
|
Posted By: dreamhonda
Date Posted: 14-January-2010 at 4:23pm
RedLeafDev wrote:
Sorry for the delay in responding.
I actually pointed you in the wrong direction - the file that saves those settings is in the includes folder and is called PageCreateShipFromSettings.asp.
Check the following lines:
Around line 39 (give or take):
pAlwAltShipAddress=Session("pcAdminAlwAltShipAddress") if pAlwAltShipAddress="" then pAlwAltShipAddress="0" end if
Around line 143:
Body=Body & "private const scAlwAltShipAddress="&q&pAlwAltShipAddress&q&CHR(10)
If you do not see that code in the file then that is your problem. Also, are there other settings on that page that work and this is the only one that doesn't? Try checking the box for "Display product weight on the product's detail page. " and see if that "sticks". |
I did try the other settings and they won't "stick" either. I'll take a look where you suggested. I did finally get hold of and talk to the programmer and he is out of pocket for two weeks and can't look at the files until then. He led me to believe that opening a support ticket wouldn't help as he modified the files. I'll keep going down this path for a little while and then see where we end up.
|
Posted By: dreamhonda
Date Posted: 15-January-2010 at 10:09am
dreamhonda wrote:
[QUOTE=RedLeafDev]Sorry for the delay in responding.
I actually pointed you in the wrong direction - the file that saves those settings is in the includes folder and is called PageCreateShipFromSettings.asp.
Check the following lines:
Around line 39 (give or take):
pAlwAltShipAddress=Session("pcAdminAlwAltShipAddress") if pAlwAltShipAddress="" then pAlwAltShipAddress="0" end if
Around line 143:
Body=Body & "private const scAlwAltShipAddress="&q&pAlwAltShipAddress&q&CHR(10)
If you do not see that code in the file then that is your problem. Also, are there other settings on that page that work and this is the only one that doesn't? Try checking the box for "Display product weight on the product's detail page. " and see if that "sticks". |
All of those lines of code are there, and match exactly what you stated above. I'll get the programmer to tell me what it was and I'll post.
|
|