Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 ASP (Windows server) versions
 Display weight in cart
Author « Topic »  

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 08/08/2018 :  11:29:50  
Is it possible to display the total shipping weight during checkout? Thanks in advance.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 08/08/2018 :  12:10:54  
I have not figured it out yet either.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Vince
Administrator

42874 Posts

Posted - 08/08/2018 :  14:16:13  
Hi Marshall
I'm afraid that isn't possible by default, no. But can I ask why you would want to do this?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 08/08/2018 :  17:26:35  
I have some clients that have different options for shipping based on weight. (Stated the obvious) But in one instance, when the weight exceeds 150 lbs, because of the shipping settings, the cart (FedEx) displays "There are no methods available for your shipping destination." In excess of 150 lbs, flat rate shipping is available, but the default message does not specify the reason for "There are no methods..." so the buyer would not know if it is a weight based issue or simply no method available.

I may not be explaining this clearly, but in this case, the site owner was previously using different cart software which allowed you to simply tick a box to display the total weight. While I know there probably is not a call/need for it on stores that ship small items, I believe there is a need for it when you are talking B2B sales, or any sales, with potentially very heavy orders.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 08/08/2018 :  20:32:22  
In the admin, it is set to weight based shipping, freight shipping exceeding 150 lbs, and pack together. No dimensions are set. In the includes, there are the following
splitpackat=30
nosplitlargepacks=TRUE
xxNoMeth="If Over 150 Lbs. Please select Flat Rate Freight Option."

The sites are intermats[dot]com and industrialmats[dot]net. You can see by the nature of the products, weights can run as low as 4 pounds an item, and as hi as 200 or so. And sizes, as varied as the weights.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 08/09/2018 :  06:35:35  
More or less. Still, the bottom line is seeing if there is a way to show the weight.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Dermontti
Advanced Member

USA
165 Posts

Posted - 08/09/2018 :  09:18:05  
Yep, this is surely possible, but requires additional code. We do it for the reason dbdave mentioned, where we check the theoretical weight the cart knows to what we weigh on the shipping scale. It isn't accurate enough to catch every mistake, but does catch the truly egregious errors.

I think you'd grab this info from the database where the SQL does something like:

  • SELECT ordID, products.pWeight, cartOptions.coWeightDiff FROM orders WHERE ordID is the one you're interested in.

  • also JOIN cart ON orders.ordsessionID=cart.cartSessionID AND orders.ordID=cart.cartOrderID

  • also JOIN products ON products.pID=cart.cartProdID

  • also JOIN cartOptions ON cartOptions.coCartID=cart.cartID


Then you just loop through the results and add up the weights. One complication is that if coWeightDiff isn't null, use that as the weight instead of pWeight.

It isn't stock functionality, but the system knows this data if you want to go get it.


Edited by - Dermontti on 08/09/2018 09:18:38

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 08/10/2018 :  07:29:10  
I will give it a try on the test site and let you know.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000