Search found 28 matches

by Kevin1596
06 Oct 2021, 03:35
Forum: Laravel package
Topic: Exend Delivery Service provider and decorator
Replies: 2
Views: 749

Re: Exend Delivery Service provider and decorator

my idea is extend the

Code: Select all

	public function calcPrice( \Aimeos\MShop\Order\Item\Base\Iface $basket ) : \Aimeos\MShop\Price\Item\Iface
to get attributes as

Code: Select all

public function calcPrice( \Aimeos\MShop\Order\Item\Base\Iface $basket, array $attributes ) : \Aimeos\MShop\Price\Item\Iface
how could I do that?
by Kevin1596
06 Oct 2021, 03:33
Forum: Laravel package
Topic: Exend Delivery Service provider and decorator
Replies: 2
Views: 749

Exend Delivery Service provider and decorator

Aimeos Laravel - 2021.04.3 Thank you for all your supports, Currently I am trying to extend Delivery service provider and decorator My use case is Calculating Delivery pricing Base on the Service Attributes user selected from Json api Could you give me a guide for that? I have some questions here: 1...
by Kevin1596
12 Apr 2021, 07:45
Forum: Laravel package
Topic: Extend php artisan aimeos:setup <site code> [<template site>]
Replies: 3
Views: 5630

Extend php artisan aimeos:setup <site code> [<template site>]

Thanks you for your all your support, Currently, I am trying to extend the aimeos:setup jobs php artisan aimeos:setup <site code> [<template site>] My requirements are : - set up new template similar to 'default' template with some predefined data such as locales products - clone new shop by copy th...
by Kevin1596
18 Jan 2021, 10:52
Forum: Laravel package
Topic: JSON API - Get product list and attributes of products belong to the catalog
Replies: 2
Views: 1381

Re: JSON API - Get product list and attributes of products belong to the catalog

How could I calculate the total product of each attribute of catalog with json api as the image follow?
Screen Shot 2021-01-18 at 5.50.23 PM.png
Screen Shot 2021-01-18 at 5.50.23 PM.png (78.95 KiB) Viewed 1377 times
by Kevin1596
18 Jan 2021, 10:06
Forum: Laravel package
Topic: JSON API - Get product list and attributes of products belong to the catalog
Replies: 2
Views: 1381

JSON API - Get product list and attributes of products belong to the catalog

AIMEOS Laravel 2020.10.* Thank you so much for all your helps so far. In my use case, I want to get the product list of a catalog and get all the possible attributes of all the products in that catalog as a filter for customer further filter rather than fetch all the attributes of the shop. The prob...
by Kevin1596
18 Jan 2021, 09:57
Forum: Laravel package
Topic: JSON API - search catalog
Replies: 6
Views: 1914

Re: JSON API - search catalog

yes that's worked,

thank you so much for your help
by Kevin1596
09 Jan 2021, 16:11
Forum: Laravel package
Topic: JSON API - search catalog
Replies: 6
Views: 1914

Re: JSON API - search catalog

I tried this but it did not work,

How do you config it?

Will this enable when I use filter search catalog, the JSON api will also return the children of found catalogs?
by Kevin1596
07 Jan 2021, 13:51
Forum: Laravel package
Topic: JSON API - search catalog
Replies: 6
Views: 1914

Re: JSON API - search catalog

The problem in my case is:

I need to pre-fetch all the catalogs in the sub-sub-categrory

example:
level: 0 : 1 catalog
level: 1 : "N" catalog
level: 2: 4 catalog each
------------------------------------
If i call as you I will need to call "N" requests to get all the level 2
by Kevin1596
06 Jan 2021, 07:01
Forum: Laravel package
Topic: JSON API - search catalog
Replies: 6
Views: 1914

JSON API - search catalog

AIMEOS Laravel 2020.10.* Thank you for all your great supports, 1) . Currently I am trying to get the catalog list from JSON API, by following this https://aimeos.org/docs/latest/frontend/jsonapi/catalog/#retrieve-categories This is great if I am using for only 1 level In my case, I need to get more...
by Kevin1596
18 Dec 2020, 15:02
Forum: Laravel package
Topic: JSON API - Double Relationship resources
Replies: 7
Views: 1817

Re: JSON API - Double Relationship resources

I will confirm it!

another point is, It seems that Stock also got relate problem

Image