Jump to content

Weight added to cart

Recommended Posts

Hey guys, I'm trying to add the total weight of the products in the cart. My main objective is to multiply the weight by a decimal and add it to the cart total to charge the customer as a fee.

I just can't seem to figure out how to call for the total product weight in the cart. I'm doing this in the shopping cart tpl file. Default theme - Presta - version

I want to place the weight x the fee percentage where I have deposit fee. I know how where I want it. I'm just having trouble figuring out where/how to get the total weight.


I've tried this with no luck so far.



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More