Search found 9 matches
- 17 May 2021, 12:56
- Forum: Help
- Topic: Create Product Attribute
- Replies: 7
- Views: 2594
Re: Create Product Attribute
Thank you for this, it works .
Last question how about to validate if attribute exist ? just add it on a product only.
Last question how about to validate if attribute exist ? just add it on a product only.
- 14 May 2021, 11:05
- Forum: Help
- Topic: Create Product Attribute
- Replies: 7
- Views: 2594
Re: Create Product Attribute
I use this code $manager = \Aimeos\MShop::create( $context, 'product' ); $attrManager = \Aimeos\MShop::create( $context, 'attribute' ); $manager->get( $product_id, ['attribute', 'media', 'price', 'text'] ); $attrItem = $attrManager->create()->setCode( 'value' )->setType( 'test' ); $prodItem = $manag...
- 13 May 2021, 13:54
- Forum: Help
- Topic: Create Product Attribute
- Replies: 7
- Views: 2594
Re: Create Product Attribute
Which part of the code to identify on what product do i add a attribute
for example,
$product_id = 15;
this key of product id i need to add a attribute
for example,
$product_id = 15;
this key of product id i need to add a attribute
- 10 May 2021, 03:04
- Forum: Help
- Topic: Create Product Attribute
- Replies: 7
- Views: 2594
Create Product Attribute
Hi devs, please help me with this.
I want to create a attribute of a product in controller. Still, i don't get it how it works
I want to create a attribute of a product in controller. Still, i don't get it how it works
- 21 Apr 2021, 11:45
- Forum: Help
- Topic: Price item not available
- Replies: 9
- Views: 3110
Price item not available
Hi please help with this. I have a problem it always return price item not available in this code. $context = app()->make('aimeos.context')->get(); $product_id = 15; // parameter $quantity = 1; // parameter $product = \Aimeos\Controller\Frontend::create( $context, 'product' )->get( $product_id, ['te...
- 20 Apr 2021, 11:43
- Forum: Help
- Topic: Add product to basket
- Replies: 5
- Views: 2812
Re: Add product to basket
Yes laravel. I want to add to basket using parameter product id
- 19 Apr 2021, 12:32
- Forum: Help
- Topic: Add product to basket
- Replies: 5
- Views: 2812
Re: Add product to basket
What would be the value of context ? i'm just using function from controller. Other programmer just pass me a product id that would be a key to add a basket.
For example, $product_id = 15
What would be the right code to add to basket.
For example, $product_id = 15
What would be the right code to add to basket.
- 13 Apr 2021, 12:35
- Forum: Help
- Topic: MODIFY PRODUCT BASKET
- Replies: 1
- Views: 872
MODIFY PRODUCT BASKET
Hi devs, can i modify or update product in the basket using controller? Please help newbie here. Thanks
- 13 Apr 2021, 12:32
- Forum: Help
- Topic: Add product to basket
- Replies: 5
- Views: 2812
Add product to basket
Hi devs, please help me with this. Please help how to add product in basket in controller. Newbie here thanks!