Projekt

Allgemein

Profil

GX-Feature #69039

Von Josua Michalak vor etwa 3 Jahren aktualisiert

Widget to display an overview of the shipping methods with the most orders. 
 --- 
 1. Seed orders using `yarn seed {amount} orders`. 
 2. Generate different shipping methods for every order: 

 ```sql  
 UPDATE orders 
 SET orders.shipping_class = (ELT(1 + FLOOR(RAND() * 8),  
 'flat_flat', 'freeamount_freeamount', 'selfpickup_selfpickup', 'table_table', 'chp_chp', 'dp_dp', 'dpd_dpd', 'zonese_zonese')) 
 WHERE orders.orders_id > 0 
 ``` 
 ![ordersShippingMethodOVerview](https://tracker.gambio-server.net/attachments/download/27098/ordersShippingMethodOVerview.png) ![ordersShippingMethodOVerview](https://tracker.gambio-server.net/attachments/thumbnail/27098)

Zurück