New answers tagged

1

After some further trial and error I have made this work like so. However, it feels like there is or should be a simpler method....what am I missing or what is a better approach? {% set selectedVehicle = craft.entries .section('vehicles') .id(vehicle) .with( [ 'vehicleBrand', 'oemFixings', 'afterMarketFixings' ]) .one() %} {% set ...


1

Select the date range of your orders: Then export the line items to csv and open in excel: You can then use excel to create sums/grouping and charts etc.


1

It sounds to me like you're running into a collision with Vue's template delimiters vs Twig's, which by default are the same as each other ({{ ... }}). The solution is to change Vue's delimiters to something else when you initialise, like this: const vm = new Vue({ el: '#app', delimiters: ['${', '}'], ... ... }); You'd then need to use ${ ......


3

There's a few moving parts here but Commerce 3.3, which was recently released, just introduced support for partial or deferred payments which should help get this done easily. I'm not sure what your checkout looks like but one way to handle it would be to post via ajax. Basically anything that updates on-the-fly (addresses, line items, etc.) needs to to get ...


2

It's not currently possible to charge a fixed tax fee natively, it needs to be a percentage. You can however implement your own tax adjuster within a plugin or module, which is what Craft is doing under the hood. You can specify an amount on the adjuster with a type of tax and it will then show on orders within Craft.


Top 50 recent answers are included