Search found 9 matches

by marlonsamot
17 May 2021, 12:56
Forum: Help
Topic: Create Product Attribute
Replies: 7
Views: 2556

Re: Create Product Attribute

Thank you for this, it works :o :o :o .

Last question how about to validate if attribute exist ? just add it on a product only.
by marlonsamot
14 May 2021, 11:05
Forum: Help
Topic: Create Product Attribute
Replies: 7
Views: 2556

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...
by marlonsamot
13 May 2021, 13:54
Forum: Help
Topic: Create Product Attribute
Replies: 7
Views: 2556

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
by marlonsamot
10 May 2021, 03:04
Forum: Help
Topic: Create Product Attribute
Replies: 7
Views: 2556

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
by marlonsamot
21 Apr 2021, 11:45
Forum: Help
Topic: Price item not available
Replies: 9
Views: 3087

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...
by marlonsamot
20 Apr 2021, 11:43
Forum: Help
Topic: Add product to basket
Replies: 5
Views: 2778

Re: Add product to basket

Yes laravel. I want to add to basket using parameter product id
by marlonsamot
19 Apr 2021, 12:32
Forum: Help
Topic: Add product to basket
Replies: 5
Views: 2778

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.
by marlonsamot
13 Apr 2021, 12:35
Forum: Help
Topic: MODIFY PRODUCT BASKET
Replies: 1
Views: 852

MODIFY PRODUCT BASKET

Hi devs, can i modify or update product in the basket using controller? Please help newbie here. Thanks
by marlonsamot
13 Apr 2021, 12:32
Forum: Help
Topic: Add product to basket
Replies: 5
Views: 2778

Add product to basket

Hi devs, please help me with this. Please help how to add product in basket in controller. Newbie here thanks!