InsideDarkWeb.com
  1. All Categories
  2. Craft CMS

Craft CMS : Recent Questions and Answers

Find answers to your questions about Craft CMS or help others by answering their Craft CMS questions.

Commerce: are Shipping prices always assumed to include tax?

A client is asking if the order calculation can show a 20% tax calculation on the shipping price. From looking through Commerce 3, it seems this isn't possible, eg Shipping...

Asked on 11/25/2021

1 answer

Freeform with project.yaml?

On my development instance, I added a freeform form. Now I would like to deploy that form to the staging, or later, live site. When committing my changes, I...

Asked on 11/07/2021

2 answer

Freeform user account creation form: handling prior user account exists

This is more or less a duplicate of a support ticket raised with Solspace. I’ve no doubt they will provide an answer but if anyone else has one feel free...

Asked on 11/05/2021

0 answer

Using multiple elementTypes in Element API

I am currently trying to create an autocomplete search with the element-api. I need results from two different elementTypes:Product::classEntry::classHow do I get results out of both elementTypes with only one...

Asked on 10/04/2021

1 answer

Sprig/Snaptcha CSRF issue/question

We have a site using Sprig and Snaptcha. One of our forms is always returning a 400 error "Unable to verify your data submission" which is usually a CSRF issue...

Asked on 10/04/2021

1 answer

DRY variable setting across templates (macro for variable?)

I have a need for something like the following:{# Template A #} {# Do X that sets variable x #} {# Do Y...

Asked on 10/03/2021

1 answer

Filter users: in group AND not in other group

Please could you advise on how to filter a user query, so that users from Group A are included, but not if they are also in Group B?{% set...

Asked on 10/01/2021 by user10961

1 answer

Create new tables with a custom module

Is it possible to create new tables in Craft when building custom modules or do you need to build a plugin for this? Modules don't have the special "install" migration....

Asked on 10/01/2021 by De Potter Bart

1 answer

How to differentiate EVENT_BEFORE_UPDATE_SUBSCRIPTION events in Commerce 2/3

I'm listening for various subscription events to send emails to members. Right now, I'm dealing with subscriptions where a renewal payment fails. I'm specifically listening for EVENT_BEFORE_UPDATE_SUBSCRIPTION. The problem is...

Asked on 10/01/2021

1 answer

Tax validation in Craft Commerce

We have a single page checkout where the items are selected and addressed added before going toa cart summary page showing amount owed and tax due. Was confused as...

Asked on 09/28/2021

1 answer

Ask a Question

Get help from others!

© 2021 InsideDarkWeb.com. All rights reserved.