Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [product-weight]

The tag has no usage guidance.

0
votes
0answers
51 views

Enabling weight attribute for custom type product

I want to implement a weight attribute to a custom type product that would enable shipping option for that particular product type. (My weight is working on other types of core product type: ex like ...
1
vote
0answers
24 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 ...
0
votes
1answer
53 views

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

How can I disable shipping method if product have weight is more than 100 ?
0
votes
0answers
28 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 ...
0
votes
1answer
40 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 ...
0
votes
1answer
26 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 ...
2
votes
0answers
64 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 ?.
1
vote
1answer
221 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 ...
1
vote
0answers
8 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 ...
1
vote
1answer
130 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/...
0
votes
1answer
91 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 ...
0
votes
0answers
142 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.
0
votes
1answer
148 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 ...
3
votes
2answers
288 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.
0
votes
2answers
184 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 ...
0
votes
0answers
52 views

product - weight which UOM?

in a product based on the default Attribute Set there is a mandatory weight field. Which UOM is this value meant to be (gr, oz, KG, tons)? is it possible to change that UOM (globally, per product, ...
1
vote
0answers
82 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 ...
1
vote
1answer
46 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.
4
votes
1answer
158 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() ...
1
vote
0answers
36 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:...
0
votes
2answers
206 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 ...
0
votes
1answer
387 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 ...
0
votes
2answers
1k 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?
1
vote
1answer
152 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 ...