2 votes

CraftCMS Commerce order by most sold products

Here is a simple start. It builds a query, which goes into the commerce lineitems table, groups the rows by purchasableId and gives the top 20 counts. Be aware, that the result consists of Variants-...
1 vote

Feedme plugin - importing users into craft commerce

I had to import user data from Prestashop into Craft Commerce v4 and came up with this solution, which uses a Yii module. // Create address elements from feed-me import Event::on( Process::class, ...

Only top scored, non community-wiki answers of a minimum length are eligible