Price depending on weight ?
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Price depending on weight ?
Is it possible to make product with different weights and price depends on which weight customer selected ?
Clarify me please, is this what I need post13426.html?hilit=price#p13426 ?
But I can't understand how does it work (( I don't understand how do I connect selection and article? SKU must match ?
Thanks!
Clarify me please, is this what I need post13426.html?hilit=price#p13426 ?
But I can't understand how does it work (( I don't understand how do I connect selection and article? SKU must match ?
Thanks!
Re: Price depending on weight ?
Use a selection product with one article for each weight. The articles can have different prices.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Price depending on weight ?
Hi, Aimeos)
I try to achieve my goal to create product where is possible to select different weight with different price..
I have created product with type selection.
Also I have added 1 variant to variants..
This is a part from my config:
But on front-end I don't see any possibility to choose product variants...
I look at the code and on front-end this product consists child product, but it is not shown because no price set, I think so..
so question is how to set price for variant and how to connect price with specific weight ?
Please explain this moment, maybe you could provide some screenshots..
Thanks a lot !
I try to achieve my goal to create product where is possible to select different weight with different price..
I have created product with type selection.
Also I have added 1 variant to variants..
This is a part from my config:
Code: Select all
'catalog' => [
'domains' => [
'media',
'media/property',
'price',
'text',
'supplier',
'product',
'product/price',
],
I look at the code and on front-end this product consists child product, but it is not shown because no price set, I think so..
so question is how to set price for variant and how to connect price with specific weight ?
Please explain this moment, maybe you could provide some screenshots..
Thanks a lot !
- Attachments
-
- Screenshot from 2021-09-15 12-39-18.png (109.21 KiB) Viewed 1521 times
-
- Screenshot from 2021-09-15 12-39-07.png (91.23 KiB) Viewed 1521 times
Re: Price depending on weight ?
In your example "variant-1" is your variant article for the selection product. Go to the product list and click on "variant-1" product in list view. There you can add the price and the weight for "variant-1".
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Price depending on weight ?
Thank you!
This is almost clear for me now. Only one moment. Now I use weight and price like this: I have created attribute type 'weight', then I created some attribute '1kg' of attribute type 'weight', then I assign some price for created attribute '1kg', and then this '1kg' I add to variant product as 'variant attributes'.. Seems like too complicated.. Then I need to create a lot of such attribute for each product. Because products are different and each weight for each product has different price.. This solution is ok, but maybe there is better, easier and proper way ??
Thanks a lot !
Best regards
This is almost clear for me now. Only one moment. Now I use weight and price like this: I have created attribute type 'weight', then I created some attribute '1kg' of attribute type 'weight', then I assign some price for created attribute '1kg', and then this '1kg' I add to variant product as 'variant attributes'.. Seems like too complicated.. Then I need to create a lot of such attribute for each product. Because products are different and each weight for each product has different price.. This solution is ok, but maybe there is better, easier and proper way ??
Thanks a lot !
Best regards
Re: Price depending on weight ?
Add the price to the variant article itself, not to the weight attribute. Then, you have a structure like this e.g. for flour:
Product "Flour"
- Variant 500g
-- Variant attribute 500g
-- Variant price: 1€
- Variant 1000g
-- Variant attribute 1000g
-- Variant price: 2€
- Variant 2500g
-- Variant attribute 2500g
-- Variant price: 4€
Product "Flour"
- Variant 500g
-- Variant attribute 500g
-- Variant price: 1€
- Variant 1000g
-- Variant attribute 1000g
-- Variant price: 2€
- Variant 2500g
-- Variant attribute 2500g
-- Variant price: 4€
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star