AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: Gordon Taylor on April 17, 2015, 11:08:08 AM

Title: Product Edit Issue
Post by: Gordon Taylor on April 17, 2015, 11:08:08 AM
I have noticed that on the product edit page of the Admin Panel (1.2.1), one must input a weight, even if there is no shipping or flat rate shipping is selected.

It won't prevent the product from being added, but it gives an error and is highlighted in red if one does not input a weight, even if it's 0.0005 or less!

Just a minor tweak, but could cause a newbie to question things.
Title: Re: Product Edit Issue
Post by: abolabo on April 18, 2015, 11:01:23 AM
what the error text?
is it?
Code: [Select]
This product requires shipping. Please set weight value.
Just set "required shipping" (see above) for this product to OFF.
Title: Re: Product Edit Issue
Post by: Gordon Taylor on April 18, 2015, 11:35:26 AM
I was wrong about No Shipping, but I'm using Flat Rate Shipping, which requires shipping to be set to "on". Yet, for flat rate there is no weight or size requirements and that is when you see the error.
Title: Re: Product Edit Issue
Post by: abolabo on April 18, 2015, 01:01:43 PM
solution here
https://github.com/abantecart/abantecart-src/commit/fbd2c91df5d97011db3ffc0bf2a7e24189803814

you should change line 787 in v.1.2.1 of file public_html/admin/controller/pages/catalog/product.php
Title: Re: Product Edit Issue
Post by: Gordon Taylor on April 18, 2015, 02:02:49 PM
solution here
https://github.com/abantecart/abantecart-src/commit/fbd2c91df5d97011db3ffc0bf2a7e24189803814 (https://github.com/abantecart/abantecart-src/commit/fbd2c91df5d97011db3ffc0bf2a7e24189803814)

Thank you my friend, just what I needed. Works as it should!