Accepting credit cards, warehouses, and shipping and fulfilling orders
Hello,
How to create a discount through coding that creates a discount but ONLY for customers who choose to pay online?
I did try this using Chat GPT, and it did give me a response, but upon trying to follow the steps, we reached our desired goal.
Could you see what the problem is and why aren't we able to give discounts ONLY to online payment customers?
This is Chat GPT's response.
Step 1: Create a new discount code
Step 2: Configure the discount code
Step 3: Set up payment method conditions
Step 4: Modify your theme's code
This code snippet will hide the discount code field from the checkout page if the customer has the "prepaid" tag.
Step 5: Test the discount
By following these steps, you can offer discounts exclusively for prepaid orders in Shopify. Remember to replace "PREPAID10" with your desired discount code and modify the customer tags accordingly.
Hello @rickriate
do you have any other discount which have same percentage(%)?
Ex: if you have 10% off only for to pay online and no other discount for 10% (like welcome10) !
Lmk
Hi,
Now in 2023, it is possible to implement this using our free app Payment Customizations: PayMix.
You can setup a rule in PayMix to "Show specific payment methods and hide others" when the cart contains discount.
Here is a small video to see how the end effect would look like:
If the discount code is applied, only the applicable payment methods would show. Others will be hidden.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024