Jump to content
ashrafIT

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 1.6.1.24

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.

170e371fcf5aab986951d20805c939f4.png.16e3f9a41c56198686121c7aa9adf00a.png

I've tried this with no luck so far.

image.thumb.png.ddaebec1a57f72b0eaf350d4754598f8.png

 

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.

Guest
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