How to rearrange sequence of product subparts?

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
skydev
Posts: 18
Joined: 01 Jul 2021, 10:24

How to rearrange sequence of product subparts?

Post by skydev » 24 Feb 2022, 12:07

Can anyone have any idea how can we rearrange sequence of product subparts as I have tried to edit the config/shop and tried below code but it wasn't working

Code: Select all

'admin' => [
        'jqadm' => [
            "product"=>[
                'subparts' => [
                    'selection' => 'selection',
                    'bundle' => 'bundle',
                    'media' => 'media',
                    'text' => 'text',
                    'price' => 'price',
                    'stock' => 'stock',
                    'category' => 'category',
                    'pack'=>'pack',
                    'characteristic' => 'characteristic',
                    'option' => 'option',
                    'related' => 'related',
                    'supplier' => 'supplier',
                    'physical' => 'physical',
                    'subscription' => 'subscription',
                    'download' => 'download',
                    'order' => 'order',
                    'cgroup' => 'cgroup'
                ],
            ]
        ],

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

Re: How to rearrange sequence of product subparts?

Post by aimeos » 26 Feb 2022, 07:48

This is the right configuration and works for 2021.10.x versions.
Which Aimeos version do you use?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

skydev
Posts: 18
Joined: 01 Jul 2021, 10:24

Re: How to rearrange sequence of product subparts?

Post by skydev » 26 Feb 2022, 13:41

We are currently using aimeos 2020.10
Can you please tell me how it will work on this version

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

Re: How to rearrange sequence of product subparts?

Post by aimeos » 28 Feb 2022, 08:59

Up to 2020.10, it's:

Code: Select all

    'admin' => [
        'jqadm' => [
            "product"=> [
                'standard' => [
                    'subparts' => [
                        'selection' => 'selection',
                        'bundle' => 'bundle',
                        'media' => 'media',
                        'text' => 'text',
                        'price' => 'price',
                        'stock' => 'stock',
                        'category' => 'category',
                        'pack'=>'pack',
                        'characteristic' => 'characteristic',
                        'option' => 'option',
                        'related' => 'related',
                        'supplier' => 'supplier',
                        'physical' => 'physical',
                        'subscription' => 'subscription',
                        'download' => 'download',
                        'order' => 'order',
                        'cgroup' => 'cgroup'
                    ]
                ],
            ]
        ],
See: https://github.com/aimeos/ai-admin-jqad ... #L139-L172
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply