Questions tagged [product-weight]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
0 answers
201 views

Magento 2 search weight is not working

Magento 2.4 version using. Search weight is not working properly. My attribute weight settings - Attribute name Weight Product name 10 Short Description 5 Description 4 SKU 3 Weight 2 Suppose ...
user avatar
  • 1,153
0 votes
2 answers
33 views

Magento: Reduce product weight by 1000x for all products

We migrated from Magento 1 to Magento 2. All weight values were added in grams in Magento 1. In Magento 2 the weight setting is in KG. So all product weights are 1000x too much. What SQL query can I ...
user avatar
  • 1
0 votes
1 answer
156 views

Bulk upload weight to products in Magento 2

Is it possible to bulk upload 'weight' to existing products in Magento 2? I have a list of 1200 products on Magneto which are live on my site but would like to bulk add their individual weight without ...
user avatar
0 votes
1 answer
25 views

In Current variation product weight not showing

I have added weight to the product but weight is not displaying in grid section
user avatar
1 vote
1 answer
196 views

Weight not showing in Admin Product

Magento 2.3.4 Weight does not show for any products in admin. The attribute exists and is part of the attribute set. Database values seem to all be there for the attribute. Can't understand why it ...
user avatar
0 votes
0 answers
16 views

M2.2CE - Different weights when ordering different quantities

We have an issue where we have an item that is originally 3 pounds but goes inside an 8-pound box due to sizing. This is fine as we will then set the product to around 8 pounds and be done with it. ...
user avatar
  • 207
0 votes
1 answer
890 views

Magento 2: Bulk update "This item has weight" flag for all products?

Im using shipping method "Weight vs. Destination". For this all items need to have a weight. I can bulk update the weight for all the products but i cant bulk update the flag "This item has weight". ...
user avatar
  • 80
0 votes
1 answer
162 views

How to disable shipping method if weight is more than 30 Kg

I installed this extension https://landofcoder.com/magento-2-table-rate-shipping-extension.html to manage shipping rates but i want to hide it or disable it if weight is more than 30 kg any ...
user avatar
1 vote
1 answer
295 views

How to Get Weight Attribute in Totals Cart REST API Magento 2.X

How Can i Get Weight Attribute in Cart REST API. End Point: /rest/V1/carts/mine/ Response Default: { "id": 8, "created_at": "2019-09-16 13:51:25", "updated_at": "2019-09-18 12:07:31", "...
user avatar
0 votes
1 answer
39 views

Added a product with weight 220LB to the cart, proceed to checkout, but the Shipping methods are not showing up

Using Magento 2.3.1 Added a product with weight 220LB to the cart ( the cart weight > 200lb ), proceed to checkout, but the Shipping methods are not showing up. There is no restriction for shipping ...
user avatar
1 vote
0 answers
108 views

Set quote item product custom weight no holding through shipping

I am trying to set a custom product weight based on a set product custom option. I've tried multiple things like a plugin, before/after events, actual events like sales_quote_add_item etc. I am able ...
user avatar
0 votes
0 answers
87 views

magento2 error like undefined Property on shipping method like canada post

Magento2 checkoutcart page error like undefined Property on shipping method like canada post and not Calculated tax function inside on here general/locale/weight_unit like public function ...
user avatar
0 votes
1 answer
70 views

Magento 2: My shipping method I have created function like convert weight to Grams

I have my own website in Magento2 and also use my shipping method I have created below function in Model\Service\AbstractService.php /** * Convert weight to kilogram * * @param $weight ...
user avatar
0 votes
1 answer
53 views

Magento 2 Shipping Method I want Ternary condition for thee Like 'LBS' : 'KILOGRAM' :'GRAMS'

I am using shipping method in Magento2 my website.but this shipping method only two weight unit support so I want three weight unit support. my code is below, so help me public function ...
user avatar
0 votes
1 answer
340 views

Magento 2 -> if weight =>100 then disable shipping method

How can I disable shipping method if product have weight is more than 100 ?
user avatar
  • 1
2 votes
0 answers
747 views

Magento2: How to convert weight unit to grams from kg?

I have a website in Magento2. Mageto2 provides product weight unit in KG, how an I convert it into unit Gram. I want to change the product weight unit from KG to Gram how it is possible ?.
user avatar
1 vote
0 answers
28 views

Magento 1 Tare Weight

Magento 1 doesn't allow you to enter tare weight (that I can find), so you have to include the weight of the box/packaging materials into the total item weight of each product. This works great for ...
user avatar
1 vote
1 answer
1k views

Call to a member function getValue() on null

Magento 2.2.7 Getting this error in the error_log and customer get's white screen when trying to login to site, Fatal error: Uncaught Error: Call to a member function getValue() on null in /home/...
user avatar
0 votes
1 answer
625 views

Programmatically Changing Order's Weight

Our products have custom fields corresponding to weight. How could I add (and update) this weight for the order, so that shipping is calculated with this new weight*? *Product weight value + custom ...
user avatar
  • 950
0 votes
0 answers
379 views

how to get the weight unit of the product from quote in magento 2

I wish to get the weight unit of the product from quote in magento 2. Please provide me a solution to get quote value.
user avatar
  • 2,418
0 votes
2 answers
1k views

Magento2: How to show shipping method condition wise?

I want to show shipping method base on total product weight. I have 2 Shipping method A and B. If total shipping weight equal or less than 150. Then will show shipping method A If total shipping ...
user avatar
  • 1,127
0 votes
2 answers
577 views

How to Change Weight Unit in Magento 2 for Migrated Products

I have recently migrated my store from OpenCart. I have around 2700+ products. In OpenCart Grams as unit was available but not available in Magento 2. Is there any non-programing option available to ...
user avatar
3 votes
2 answers
2k views

magento 2 how to dispaly total products weight in shipping method chekcout page

I want to display total products weight (products weight* items quantity) in chekcout page shipping method lable beside.
user avatar
1 vote
0 answers
148 views

Weight doubled for configurable products

I have created a configurable product with a simple product as child (in Magento 1.9.3.8). The simple product has been given a weight of 100 kg. When buying the simple product by directly browsing ...
user avatar
  • 113
1 vote
1 answer
323 views

Magento2, Admin panel. How to set ''require' for weight field to each sub-product of configuration product?

Magento CE 2.2.1: I need to force user to input the value for weight of each sub-product in configuration product while add new product.
user avatar
1 vote
1 answer
496 views

Custom shipping method check weigh of product [closed]

I followed this tutorial (https://magenticians.com/create-magento-2-shipping-module-method/) that showed me how to create a custom shipping method, but I still have one problem, i need to take into ...
user avatar
4 votes
1 answer
338 views

Prevent custom weight from being overwritten

In my Magento 2 extension I do calculate the product weight when the user adds an item to the cart. My problem is that the weight I set gets overwritten at the checkout. Cause is the setProduct() ...
user avatar
  • 604
1 vote
0 answers
44 views

Product weight is not allowed in my custom shipping method in French language in magento 2

I have two stores one is en_US and fr_FR. In en_US store my shipping is fetching data with out any issues. But in fr_FR store my shipping is not working. It shows error like below, [2018-04-10 05:32:...
user avatar
0 votes
2 answers
811 views

How to change shipping cost per weight if is more than 10kg

Im using magento v2.2.2 Im trying to fix some shipping rates that shipping company gave me. I have 4 options Destination | shipping time | price up to 10 kg | price for extra 1kg In city ...
user avatar
0 votes
2 answers
4k views

Get product weight unit in phtml file

I have a phtml file that needs to load the weight unit of the product, the weight unit is from the store configuration, is there a way to do this?
user avatar
2 votes
1 answer
294 views

FedEx free shipping by minimum weight

I'm trying to set up my shipping rates to be free for products over 150lbs and calculate the shipping rates for products that are below 150lbs - per product, not on the order total. Scenario: I have ...
user avatar
0 votes
2 answers
703 views

Magento 1 OR 2 : Set custom product weight in quote

I have a dynamic product which is based on user size input. On the basis of user size input I am calculating product price and weight. I already set the product calculated price in custom price field ...
user avatar