Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to show products in order list

Featured Replies

copy your AdminOrdersController.php from /controllers/admin to the folder /override/controllers/admin/

After changing you can see the ordered products with variants on order list. Don´t forget to clear the cache!

change this os.`color`, IF((SELECT so.id_order FROM `'._DB_PREFIX_.'orders` so WHERE so.id_customer = a.id_customer AND so.id_order < a.id_order LIMIT 1) > 0, 0, 1) as new, country_lang.name as cname,

to os.`color`, (SELECT GROUP_CONCAT(odd.product_name SEPARATOR ", ") FROM `'._DB_PREFIX_.'order_detail` odd WHERE odd.id_order = a.id_order) as products, IF((SELECT so.id_order FROM `'._DB_PREFIX_.'orders` so WHERE so.id_customer = a.id_customer AND so.id_order < a.id_order LIMIT 1) > 0, 0, 1) as new, country_lang.name as cname,

and change this $this->fields_list = array_merge( $this->fields_list, [ 'total_paid_tax_incl' => [ 'title' => $this->l('Total'), 'align' => 'text-right', 'type' => 'price', 'currency' => true, 'callback' => 'setOrderCurrency', 'badge_success' => true, ], 'payment' => [ 'title' => $this->l('Payment'), ],

to ``` $this->fieldslist = arraymerge( $this->fieldslist, [ 'totalpaidtaxincl' => [ 'title' => $this->l('Total'), 'align' => 'text-right', 'type' => 'price', 'currency' => true, 'callback' => 'setOrderCurrency', 'badgesuccess' => true, ], 'products' => [ 'title' => $this->l('Products'), 'havingFilter' => true, 'filterkey' => 'products',

        ],
            'payment'             => [
                'title' => $this->l('Payment'),
            ],

```


before 0_1514306264334_7cfdc20e-19b7-4451-979a-18735ab8f4b1-grafik.png


after changing 0_1514306286397_f38de6b1-aed3-43eb-957d-8bb04efcb318-grafik.png

  • 10 months later...

How beautiful! Congratulations @zimmer-media

Is there a way to create a line break between products when there is more than one product per purchase?

@wakabayashi I've already tried putting ‘\n’. I have this doubt since I used Prestashop: /

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.