Search found 4 matches

by PiotrH
25 Jul 2023, 13:20
Forum: Laravel package
Topic: Price configuration options
Replies: 3
Views: 168827

Price configuration options

Hi

How can I get configuration options (key/value) for product price ?

I have tried getConfigValue() method but with no success:

Code: Select all

Called unknown macro "getConfigValue" on class "Aimeos\MShop\Price\Item\Standard"
by PiotrH
24 Jul 2023, 06:43
Forum: Laravel package
Topic: How to display breadcrumb for the current product category ?
Replies: 4
Views: 22319

Re: How to display breadcrumb for the current product category ?

Hi ! It looks like f_catid is not enough - f_name is also required. /shop/black-shirt-men/0?f_catid=1 Missing required parameter for [Route: aimeos_shop_tree] [URI: shop/f_name~f_catid/l_page?] [Missing parameter: f_name]. I changed my code to: $params = array_diff_key([ 'd_name' => $productItem->ge...
by PiotrH
20 Jul 2023, 10:10
Forum: Laravel package
Topic: How to display breadcrumb for the current product category ?
Replies: 4
Views: 22319

Re: How to display breadcrumb for the current product category ?

Hi Thank you for your reply. I have changed the code as suggested: $params = array_diff_key([ 'd_name' => $productItem->getName('url'), 'd_prodid' => $productItem->getId(), 'd_pos' => $position !== null ? $position++ : '', 'f_catid' => $productItem->getRefItems( 'catalog' )->getId()->first() ], $det...
by PiotrH
18 Jul 2023, 07:56
Forum: Laravel package
Topic: How to display breadcrumb for the current product category ?
Replies: 4
Views: 22319

How to display breadcrumb for the current product category ?

Laravel v9.52.10 aimeos 2023.07 php 8.1.20 Linux

Hi

How to display breadcrumb for the current product category ? It always displaying "Back" link,on single product page, instead of the category link the product belongs.

[img]http://piotrh.net/aimeos.png[/img]

Many Thanks,