Search found 27 matches
- 24 Nov 2020, 08:35
- Forum: Laravel package
- Topic: add review to the product
- Replies: 3
- Views: 1858
Re: add review to the product
There's a configurable time limit after which customers can review products to avoid fake reviews: https://github.com/aimeos/ai-client-html/blob/febc845d539c4546584879cbf3d8581fae65a806/client/html/src/Client/Html/Account/Review/Todo/Standard.php#L245-L256 I set time limit 1 day, but reviews not vi...
- 23 Nov 2020, 15:08
- Forum: Help
- Topic: favorite icon
- Replies: 9
- Views: 3541
Re: favorite icon
Use the jQuery example from the docs: var url = response['links']['customer/relationships']['href']; // from customer response var args = {include: "product"}; var params = {}; if(options.meta.prefix) { // returned from OPTIONS call params[options.meta.prefix] = args; } else { params = ar...
- 20 Nov 2020, 07:42
- Forum: Help
- Topic: favorite icon
- Replies: 9
- Views: 3541
Re: favorite icon
How get customers favorite list, in template?aimeos wrote: ↑18 Nov 2020, 08:05 You may use the JSON REST API to check if the product is in the customers favorite list:
https://aimeos.org/docs/latest/frontend ... relations/
- 16 Nov 2020, 13:08
- Forum: Help
- Topic: favorite icon
- Replies: 9
- Views: 3541
Re: favorite icon
You can enable/disable them using this configuration: https://aimeos.org/docs/2020.x/config/client-html/catalog-actions/#list Add new ones in your own version of this template: https://github.com/aimeos/ai-client-html/blob/master/client/html/templates/catalog/actions-partial-standard.php I edited t...
- 15 Nov 2020, 10:59
- Forum: Help
- Topic: favorite icon
- Replies: 9
- Views: 3541
- 10 Nov 2020, 11:40
- Forum: Help
- Topic: Catalog media get configuration options
- Replies: 4
- Views: 1807
Re: Catalog media get configuration options
Check if $this->homeTree->getListItems( 'media' ) returns an image at all. If not, the images are not loaded at all and there's something wrong. The code that loads the categories and their images is here: https://github.com/aimeos/ai-client-html/blob/master/client/html/src/Client/Html/Catalog/Home...
- 09 Nov 2020, 06:50
- Forum: Help
- Topic: Catalog media get configuration options
- Replies: 4
- Views: 1807
Re: Catalog media get configuration options
I need home page, $product no valueaimeos wrote: ↑07 Nov 2020, 08:18Code: Select all
$product->getListItems( 'media', 'default', 'stage' )
Code: Select all
$this->homeTree->getListItems( 'media', 'default', 'stage' )
- 07 Nov 2020, 15:28
- Forum: Help
- Topic: Price format
- Replies: 2
- Views: 1161
Re: Price format
The number format is created by a view helper which has a second parameter for the number of decimals: $this->number( 100, 2 ) You have find the implementation here: https://github.com/aimeos/aimeos-core/blob/master/lib/mwlib/src/MW/View/Helper/Number/Locale.php Thank you very much for your help! :)
- 04 Nov 2020, 14:21
- Forum: Help
- Topic: Catalog media get configuration options
- Replies: 4
- Views: 1807
Catalog media get configuration options
Hi! I wanted to do slider of catalog media. How i can get configuration options? https://i.ibb.co/7JF6Bph/00.jpg Dump does not contain this data. Aimeos\MShop\Media\Item\Standard {#2087 ▼ -langid: "ru" -prefix: "media." -available: true -modified: false #bdata: array:14 [▼ "...
- 04 Nov 2020, 11:14
- Forum: Help
- Topic: Price format
- Replies: 2
- Views: 1161
Price format
Hello, how can prices format be set with 100,00 on 100?