Invalid type "bought-together" (product list)

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

Invalid type "bought-together" (product list)

Post by VirtualSpy » 05 Sep 2022, 13:02

Laravel version 9.22.1 , Aimeos version 2022.07.2 and PHP version 8.1.3 (Win)

i am using bought-together in product lists type in csv but it is showing invalid type
Attachments
error.PNG
error.PNG (23.61 KiB) Viewed 514 times
b.PNG
b.PNG (5.35 KiB) Viewed 536 times

User avatar
aimeos
Administrator
Posts: 7889
Joined: 01 Jan 1970, 00:00

Re: Invalid type "bought-together" (product list)

Post by aimeos » 07 Sep 2022, 16:31

The list type for products bought together is not allowed to be imported by default because this product relations are generated by the product/bought job controller:
https://github.com/aimeos/ai-controller ... andard.php

To allow this list type, you have to add it to this configuration in your ./config/shop.php:
https://github.com/aimeos/ai-controller ... hp#L51-L77
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply