Questions tagged [product-weight]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Magento\Catalog\Block\Adminhtml\Product\Widget\Chooser is not working , button is not appearing

this is my code: namespace vendor\module\Block\Adminhtml\Product\Edit\Tab; use Exception; use vendor\module\Helper\Data; use vendor\module\Model\ResourceModel\Product\Source\AllProductsFormodule; ...
Arun Suryavanshi's user avatar
1 vote
0 answers
175 views

Magento 2: UPS weight unit KGS not working

We are not able to change the weight unit from "LBS" to "KGS" in the UPS shipping settings. If we change that we get the following error message in the checkout: "Sorry, no ...
Waffeleater's user avatar
3 votes
0 answers
621 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 ...
sumeet bajaj's user avatar
  • 1,266
0 votes
2 answers
42 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 ...
JDee's user avatar
  • 1
0 votes
1 answer
253 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 ...
Tom Henry's user avatar
0 votes
1 answer
30 views

In Current variation product weight not showing

I have added weight to the product but weight is not displaying in grid section
Akshay Kamble's user avatar
1 vote
1 answer
310 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 ...
William Oakley's 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. ...
ne0nlight's user avatar
  • 207
0 votes
1 answer
1k 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". ...
Thowzif's user avatar
  • 82
0 votes
1 answer
261 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 ...
Developper Magento 's user avatar
1 vote
1 answer
333 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", "...
LearnerElan's user avatar
0 votes
1 answer
41 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 ...
Bhavana Thodeti's user avatar
1 vote
0 answers
161 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 ...
johncarlson21's user avatar
0 votes
0 answers
148 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 ...
MehulKanjariya's user avatar
0 votes
1 answer
96 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 ...
MehulKanjariya's user avatar
0 votes
1 answer
55 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 ...
MehulKanjariya's user avatar
0 votes
1 answer
437 views

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

How can I disable shipping method if product have weight is more than 100 ?
Crish's user avatar
  • 1
2 votes
0 answers
785 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 ?.
MehulKanjariya's user avatar
1 vote
0 answers
30 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 ...
Neal Hart's user avatar
1 vote
1 answer
2k 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/...
user1155594's user avatar
0 votes
1 answer
738 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 ...
brackfost's user avatar
  • 1,010
0 votes
0 answers
418 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.
Jaisa's user avatar
  • 2,556
0 votes
2 answers
2k 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 ...
Masud Shaikh's user avatar
  • 1,189
0 votes
2 answers
635 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 ...
Niraj Nagar's 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.
Chala Chalapathi's user avatar
1 vote
0 answers
164 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 ...
Klistrian's user avatar
  • 113
1 vote
1 answer
447 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.
Bong Channarith's user avatar
1 vote
1 answer
523 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 ...
Ruben Perdigao's user avatar
4 votes
1 answer
387 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() ...
TrytoFly's user avatar
  • 624
1 vote
0 answers
47 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:...
Jeeva Chezhiyan's user avatar
0 votes
2 answers
927 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 ...
Tasos Kakouris's 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?
nortonuser 's user avatar
2 votes
1 answer
346 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 ...
martin schwartz's user avatar
0 votes
2 answers
835 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 ...
Ashish Jagnani's user avatar