Questions tagged [product-weight]

The tag has no usage guidance.

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

Magento2 weight and qty decimal seperator

How to remove weight decimal from product page? Right now I set 3KG on admin panel but it shows 3.0000 in product page Also i have this issue on QTY too. it shows 5.00. I use Magento 2.1.8
0
votes
1answer
20 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 ...
0
votes
0answers
58 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
31 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
80 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
30 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
43 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
32 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
155 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
240 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
233 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
134 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
189 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
215 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
392 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
255 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 ...
1
vote
0answers
92 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
51 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
175 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
38 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
224 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
407 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
170 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 ...