Page 1 of 1

Retrieve product url while retrieving products from an order

Posted: 12 May 2022, 09:24
by jgaut
Hello !
I have followed this doc: https://aimeos.org/docs/2020.x/frontend ... eve-orders to retrieve orders and their associated products.
I have passed 'order/base/product' as include parameter.
I can access individual product properties with access key order.base.product.productid, .name, .price ...
However, I cannot access the url segment property of the product.
Is there a way to add a key such as order.base.product.producturl to retrieve a product url segment ?

Many thanks in advance,

Re: Retrieve product url while retrieving products from an order

Posted: 13 May 2022, 06:33
by aimeos
The url segment of the ordered product isn't stored in the order product item but you can fetch the original product if you add "product" to the "include" parameter.