![Reply to topic](templates/ca_aphrodite_green/images/lang_english/post_reply.gif) |
Page 1 of 1
|
Author |
Message |
hclarkson
Newbie - Two Blades
Joined: 12 Mar 2009
Posts: 34
|
![Post Post](templates/ca_aphrodite_green/images/icon_post.gif) admin email from order does not reflect type of shipping
When I receive an email confirming that a customer has ordered something it does not include the shipping method that they chose. Can that be manipulated so I can see if they selected USPS, UPS and so on? This forum is great and I have found so many answers in here to issues and I appreciate the ones I ask about as well. Thank you,
|
Tue Jul 07, 09 7:34 pm |
|
![](templates/ca_aphrodite_green/images/spacer.gif) |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
URL to the store and which payment gateway?
Make sure all modules are up to date in the Update AgoraCart Modules manager...
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Wed Jul 08, 09 8:26 am |
![ICQ Number ICQ Number](templates/ca_aphrodite_green/images/lang_english/icon_icq.gif) |
![](templates/ca_aphrodite_green/images/spacer.gif) |
hclarkson
Newbie - Two Blades
Joined: 12 Mar 2009
Posts: 34
|
|
Wed Jul 08, 09 9:51 am |
|
![](templates/ca_aphrodite_green/images/spacer.gif) |
Dan
Guest
|
are you sure shipping is being charged? i have a solution that forces a default method instead of the "select method" option. if no method is selected then no shipping is charged. so be sure the customer is being charged and if not holler and i'll post what i have.
d
|
Wed Jul 08, 09 8:25 pm |
|
![](templates/ca_aphrodite_green/images/spacer.gif) |
hclarkson
Newbie - Two Blades
Joined: 12 Mar 2009
Posts: 34
|
Thank you for reply. I have entered a code in the manager that I found on the forums that doesnt permit the customer to not select a shipping method. I see that they are charged shipping. I also see the shipping method on invoices in manager. What I am trying to do is the email that is sent to me when someone purchases something has the shipping amount but it doesnt tell me USPS or UPS, ect. Is there a way to have it included? That way I dont have to log into manager and find invoice. Thank you so much....( :
|
Fri Jul 10, 09 11:06 am |
|
![](templates/ca_aphrodite_green/images/spacer.gif) |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Holly,
Are you sure that the shipping method isn't being printed?
It should print after the "Country" in the Shipping information area of the email.
Does it show in the customer email?
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Sun Jul 12, 09 2:58 pm |
![ICQ Number ICQ Number](templates/ca_aphrodite_green/images/lang_english/icon_icq.gif) |
![](templates/ca_aphrodite_green/images/spacer.gif) |
Dan
Guest
|
i don't recall any issues with the method not being printed. make sure your custom shipping logic is turned off.
also check your option for proper form. the following doesn't look right and sometimes malformed data can cause unusual and unexpected results.
1 Capris 001*XS~{002*Kelly Green~ $39.99
at the top of the page (step one and two) you have !; displaying. not sure where that's coming from but most likely some code is breaking your agora user lib.pl file or freeform logic. something is messed up.
could be the paypal gateway needs something added or amened. not sure, i use paypalipn almost exclusively so not sure what's happening with paypal basic.
d
|
Sun Jul 12, 09 7:20 pm |
|
![](templates/ca_aphrodite_green/images/spacer.gif) |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
I am not seeing the page completely rendering as it should...
The following in the header must be removed:
Code:<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<body onLoad="MM_preloadImages('http://209.200.249.160/%7Erunningf/store52/images/top_bar_ro_09.gif','http://209.200.249.160/%7Erunningf/store52/images/top_bar_ro_10.gif','http://209.200.249.160/%7Erunningf/store52/images/top_bar_ro_11.gif','http://209.200.249.160/%7Erunningf/store52/images/top_bar_ro_12.gif','http://209.200.249.160/%7Erunningf/store52/images/top_bar_ro_13.gif','http://209.200.249.160/%7Erunningf/store52/images/top_bar_ro_14.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_01.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_02.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_03.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_04.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_06.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_07.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_08.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_09.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_10.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_11.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_12.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_14.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_15.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_16.gif','http://209.200.249.160/%7Erunningf/store52/images/side_ro_17.gif','http://209.200.249.160/%7Erunningf/store52/images/images/top_ro_09.gif','http://209.200.249.160/%7Erunningf/store52/images/images/top_ro_10.gif','http://209.200.249.160/%7Erunningf/store52/images/images/top_ro_11.gif','http://209.200.249.160/%7Erunningf/store52/images/images/top_ro_12.gif','http://209.200.249.160/%7Erunningf/store52/images/images/top_ro_13.gif','http://209.200.249.160/%7Erunningf/store52/images/images/top_ro_14.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_01.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_02.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_03.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_04.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_06.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_07.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_08.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_09.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_10.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_11.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_12.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_14.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_15.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_16.gif','http://209.200.249.160/%7Erunningf/store52/images/images/side_ro_17.gif','http://209.200.249.160/%7Erunningf/store52/images/images/new_side.gif','../../../../images/FUNKYSIDE2_RO.gif','../../../../images/FUNKY_SIDERO.gif','../../../../images/side_sizing_ro.gif')">
And the following from the footer file:
Code:<style type="text/css">
<!--
.style1 {
font-size: 12px;
color: #333333;
}
-->
</style>
All javascript must be in the proper place in the box for meta tags, CSS & javascript in the Primary/Core Settings manager. It is suggested to put all of your JS into a file and link to it from the store. CSS needs to be managed through the CSS manager and not in the header or footer files.
Improper HTML coding is one of the biggest reasons for getting unexpected results in AgoraCart.
BTW, the !; at the top of your page is coming from that special box in the Primary/Core Settings manager...
In the Cart Contents-Displays/Emails settings, you need to have the 'name' field selected in one of those lines and the 'options' field... Don't select the 'options_ids' field, that is what is making the display look funny by printing the option numbers.
One other thing, the IP addy is hardcoded in many of the links in your files. You will want to switch those over to use the domain name... It is not good to have the IP in the links like that if there is a domain name that can be used.
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Jul 13, 09 5:30 am |
![ICQ Number ICQ Number](templates/ca_aphrodite_green/images/lang_english/icon_icq.gif) |
![](templates/ca_aphrodite_green/images/spacer.gif) |
hclarkson
Newbie - Two Blades
Joined: 12 Mar 2009
Posts: 34
|
![Post Post](templates/ca_aphrodite_green/images/icon_post.gif) Thank you ( :
I did the suggestions you have on the post. I still don't see the shipping type in the email generated to me from the customer sale or the email to the customer. I have other sites with agora and always it shows if they choose parcel post, ups, ect. on the email generated to me and the customer. Not sure what I deleted here. Is there a way to tell the cart to include the shipping method on invoice. It does include the shipping method on invoice stored in the order management area but I need to get it with email to avoid extra step. I tried my other sites and they all have it included. I am perplexed. Yikes. Any ideas. ?????
Thanks,
|
Thu Jul 16, 09 2:48 pm |
|
![](templates/ca_aphrodite_green/images/spacer.gif) |
hclarkson
Newbie - Two Blades
Joined: 12 Mar 2009
Posts: 34
|
![Post Post](templates/ca_aphrodite_green/images/icon_post.gif) I know I'm being a pain but this is imperitive .
The following is the order confirmation I am getting from runningfunky.com. It is missing the shipping method. I need it to include a line that states the shipping method that was selected. USPS Parcel, Second day and so forth. PLEASE HELP!!!
I am in dire need of this being added. You help is appreciated. Thanks.
This is the receipt as is:
Thank you for your order. We appreciate your business and will do everything we
can to meet your expectations. Please visit us again soon!
Gateway: PayPal Standard
New Order: Monday, July 20, 2009 at 12:59:47
--PRODUCT INFORMATION--
Quantity: 1
Product: Tights ($44.99 ea.)
Options: M
Black/Blue Zebra
Cost (each): $44.99
Item Subtotal: $44.99
Phone: 101
Total Wt.: 0
Name: Tights
CUSTID: 8117795.23002
INVOICE: 1247850425
SUBTOTAL: $44.99
SHIPPING: $7.50
TOTAL: $52.49
NAME: Holly clarkson
ADDRESS: 107 little rd
CITY: perkiomenville
STATE: pa
ZIP: 18074
COUNTRY: United States
ORDER NOTES -------------------
Special Notes:
|
Mon Jul 20, 09 10:06 am |
|
![](templates/ca_aphrodite_green/images/spacer.gif) |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
How is the shipping being calculated?
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Jul 20, 09 10:42 am |
![ICQ Number ICQ Number](templates/ca_aphrodite_green/images/lang_english/icon_icq.gif) |
![](templates/ca_aphrodite_green/images/spacer.gif) |
hclarkson
Newbie - Two Blades
Joined: 12 Mar 2009
Posts: 34
|
Custom shipping logic as per below example: I also have in the free form logic area the following code to force customers to select shipping.
This is the start of the Free form logic:
&add_codehook("PayPal_fields_bottom","change_PayPal_required_fields");
sub change_PayPal_required_fields {
push(@sc_order_form_required_fields,"Ecom_ShipTo_Method");
$sc_order_form_array{'Ecom_ShipTo_Method'} = "Shipping Method";
}
# This gets executed after the agora.setup.db file is loaded
# by agora.cgi ... You can set 'html thingies', load libraries, etc.
#
&add_codehook("process-order-pre-ship-instructions","order_confirmation_changer_function");
sub order_confirmation_changer_function {
$messages{'ordcnf_08'} = "AgoraCart Shopping Receipt - thank you";
}
This is the start of the custom shipping logic...
@sc_shipping_logic = ( "USPS Parcel Post|0.01-7.00|||5.00",
"USPS Parcel Post|7.01-16.00|||5.50",
"USPS Parcel Post|16.01-99.99|||7.50",
"USPS Parcel Post|100.00-224.99|||10.50",
"USPS Parcel Post|225.00-300.99|||14.95",
"USPS Parcel Post|301.00-|||16.95",
"USPS Express|0.01-99.99|||18.00",
"USPS Express|100.00-199.99|||25.00",
"USPS Express|200.00-|||35.00",
"UPS Ground|0.01-45.00|||8.50",
"UPS Ground|45.01-85.99|||9.75",
"UPS Ground|86.00-124.99|||11.00",
"UPS Ground|125.00-200.00|||16.00",
"UPS Ground|200.01-|||19.00",
"UPS 2nd Day|0.01-99.99|||18.00",
"UPS 2nd Day|100.00-249.99|||28.50",
"UPS 2nd Day|250.00-|||30.95",
"UPS Next Day|0.01-99.99|||18.00",
"UPS Next Day|100.00-199.99|||25.00",
"UPS Next Day|200.00-|||33.00",
"USPS Global Priority|0.01-50.00|||13.00",
"USPS Global Priority|50.01-100.00|||15.00",
"USPS Global Priority|100.01-150.00|||18.00",
"USPS Global Priority|150.01-200.00|||21.00",
"USPS Global Priority|200.01-250.00|||25.00",
"USPS Global Priority|250.01-|||33.00");
#
$shipping_price = &calculate_shipping($temp_total,
$total_quantity, $total_measured_quantity);
|
Mon Jul 20, 09 11:48 am |
|
![](templates/ca_aphrodite_green/images/spacer.gif) |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Okay, you aren't shipping by weight and there isn't and x_freight that is being returned by PayPal...
In the PayPal-order_lib.pl file edit as follows:
Line 40, find:
Code:$versions{'PayPal-order_lib.pl'} = "5.5.002 Pro Version";
Edit to be:
Code:$versions{'PayPal-order_lib.pl'} = "5.5.002a Pro Version - Edited to include ship method in emails";
This change will alert you in the Upgrade AgoraCart Modules manager that you had edited the file. Then when an upgrade is available it you will know to compare the 2 files to see if your edits may have been incorporated in the updated file's coding.
Next, find lines 707-710. They will look like:
Code:$orderLoggingHash{'shipMethod'} = "$vform_Ecom_ShipTo_Method";
if (($sc_use_SBW =~ /yes/i) || ($form_data{'x_Freight'} > .009)) {
&add_text_of_both("SHIP VIA",$vform_Ecom_ShipTo_Method);
}
Edit as follows:
Code:$orderLoggingHash{'shipMethod'} = "$vform_Ecom_ShipTo_Method";
if ($vform_Ecom_ShipTo_Method ne "") {
&add_text_of_both("SHIP VIA",$vform_Ecom_ShipTo_Method);
}
Let me know how it goes for you.
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Jul 20, 09 12:52 pm |
![ICQ Number ICQ Number](templates/ca_aphrodite_green/images/lang_english/icon_icq.gif) |
![](templates/ca_aphrodite_green/images/spacer.gif) |
hclarkson
Newbie - Two Blades
Joined: 12 Mar 2009
Posts: 34
|
omg I get this
Error loading library ./library/PayPal-order_lib.pl:
./library/PayPal-order_lib.pl did not return a true value at (eval 13) line 1.
Please contact the site administrator to fix the error. (webmaster@runningfunky.com)
And i reloaded old version and its not fixed. YIKES!!!! HELP!!!!!
|
Mon Jul 20, 09 2:05 pm |
|
![](templates/ca_aphrodite_green/images/spacer.gif) |
hclarkson
Newbie - Two Blades
Joined: 12 Mar 2009
Posts: 34
|
I did reload the original version via the manager and the site is online again but I would love to be able to place this option in the email. Any thoughts on what I did wrong. I copy pasted the code and I double checked it and the error I sent before came up on any cartlink.
|
Mon Jul 20, 09 2:46 pm |
|
![](templates/ca_aphrodite_green/images/spacer.gif) |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Holly,
Email me the login credentials (FTP & manager) and I will see if I can get these eddits done and working for you.
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Mon Jul 20, 09 3:29 pm |
![ICQ Number ICQ Number](templates/ca_aphrodite_green/images/lang_english/icon_icq.gif) |
![](templates/ca_aphrodite_green/images/spacer.gif) |
|
The time now is Sat May 04, 24 9:20 am | All times are GMT - 7 Hours
|
Page 1 of 1
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|