Shipping price per product don't work in product with variants

  • Posts: 113
  • Thank you received: 2
7 years 7 months ago #266791

-- url of the page with the problem -- : www.laputea.com
-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.5

Hello,

I set the "shipping price per product" on each product in the shop, but when I add a new product, the "shipping price" appears only in the main product, not that in the variants view.
The products are placed in a warehouse that is called "magazzino standard" I configured the shipping method by selecting the "magazzino standard", attaching screenshots.



I can not understand why in all products with the postage variants appear in the form of variants, while for the new products do not.
I created a test product, attach screenshots.


As you can see, the "shipping price per product" appears only in the main product and not in the variants.

I do not know if it can be useful, but it appeared this error message
Notice: Trying to get property of non-object in /var/www/html/administrator/components/com_hikashop/classes/product.php on line 737

I upgraded Hikashop to the latest version. I tried several solutions, but nothing. Is there a way to fix it?
Thank you

Attachments:
Last edit: 7 years 7 months ago by gioxd.

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 7 months ago #266849

Hi,

Well, I'm afraid there is nothing to fix. The option being called "shipping price per product" and not "shipping price per variant", you can only add shipping prices on the products not on the variants. That has always been like that.
So it's not a bug that need to be fixed.
It could be a feature request, but it won't be a small task as the shipping price feature will have to be almost completely rewritten to support the ajax system of the variants edition system, and so far, no one else asked for that, so it's not a priority for us either.

Please Log in or Create an account to join the conversation.

  • Posts: 113
  • Thank you received: 2
7 years 7 months ago #266856

I understand, but why in all other products shipping price also appear on variants?
I attach screenshots.


If I have a product with different sizes and weight it is obvious that the shipping price will be different. that is why it appears on the shipping price variants, but only for already added products, not for new products!
But the problem is another and more serious. If I set my shipping price on the main product for new products, the price is not calculated at checkout. This is because in the variants product is not listed shipping price per product.
I repeat: on all products shipping price appears in the variants, not on new products with variants.
I read this thread, the problem is the same, but I have the latest version of hikashop.
www.hikashop.com/forum/shipping-methods/...roduct-variants.html
Can it be solved?

Attachments:
Last edit: 7 years 7 months ago by gioxd.

Please Log in or Create an account to join the conversation.

  • Posts: 113
  • Thank you received: 2
7 years 7 months ago #266939

hello, I understand where is the problem. The shipping cost per product does not appear in variants because the products were placed in a warehouse. If I delete the warehouse, the price for the product appears in the variants.

I had two warehouses: warehouse books, standard warehouse.

I deleted both warehouses. So in "shipping methods" do not appear warehouses.
I attach screenshots.


Now all the products are in "no warehouse".

But now if I order products from both old warehouses, the system calculates two shipping methods. It seemed as though stores remained stored despite having been deleted.
I attach screenshots.

How do I completely eliminate the warehouses? Because the system calculates twice the shipment if the products are "no warehouse?"
I deleted the site cache and browser, but the problem remains.

Can it be solved? Thank You

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 113
  • Thank you received: 2
7 years 7 months ago #267273

Sorry if I insist, but I can not understand why some products are set two shipping systems!

Before I had two warehouses with two shipping costs.

Now I set the price per product and I moved all the products in one warehouse.

I set the delivery system without warehouse restrictions.

Yet when the user purchases products that were previously in two warehouses, leaving two shipping methods.

If I try to set the restriction "warehouse" in "Shipping methods", the method does not appear in the front-end, so I have to set the restriction of "no warehouse".

Am I doing something wrong?

Help me because they do not know how to bring up a single shipping method, because now there is confusion for users!

Attachments:
Last edit: 7 years 7 months ago by gioxd.

Please Log in or Create an account to join the conversation.

  • Posts: 113
  • Thank you received: 2
7 years 7 months ago #267298

I realized that the problem does not depend on the warehouse, but the variants. We always come back to the initial problem.

If I add to cart products with variants, the system calculates a shipping method.

If I add products to cart without variation, the system calculates another shipping method.



So in my case I have a single warehouse, I set the shipping cost per product, but are set two shipping methods: one for products with variants, one for products without variants.

How to explain this problem?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 113
  • Thank you received: 2
7 years 7 months ago #267336

I solved. The products were in a warehouse, while the variations in another. With mass action I moved products and variants in a single warehouse, and I solved it.
It was not very intuitive solve the problem because the warehouse field appears only in the main product and not in the variants. However I solved :)

The following user(s) said Thank You: Mohamed Thelji, thesilentman

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 2
7 years 3 months ago #275289

@Hikashop Team: This is a quick fix for the user, but I just stumbled on the same issue with a customer's shop. The underlying issue should be resolved or at least a warehouse-field added to the variants, so that people can at least correct such problems without having to do mass actions.

Please Log in or Create an account to join the conversation.

Time to create page: 0.138 seconds
Powered by Kunena Forum