When using the Donation Tiers campaign, if a customer enters a custom donation amount, it will appear with one-cent increments in cart like so:
If you want to remove the units, you will need a developer to make these changes.
Notes:
- If you've already hidden the Round-up donation units in cart, your Donation Tiers units will automatically be hidden in cart as well.
- We can customize the front-end, i.e., how it looks in cart or at checkout (only for Shopify Plus users). However, we are unable to make any customizations in the back-end, such as in your Orders section in your store.
1. Open your theme editor and look for the header.liquid file:
2. Search for a code block similar to
You might find more than one instance of this code and it might be within conditional (if/else) statements, for example:
2.1 Once you find that code, replace cart.item_count with cart_count. Usually, you’ll only want to do this in output, not in conditions. But if you find it affects your store’s styling, also change it there as well.
3. Next, look for cart.liquid. Usually, it will just include cart-template.liquid. If this is the case, open it.
3.1 Check for cart.item_count output (optional, may or may not be there), replace as before. Pay attention if cart page includes header.liquid. If it is, cart_count variable already exists.
For example, let’s say in a code file we want to replace item price with total price as we hide the count. In that case, we would look for this code snippet:
and replace it with:
And to hide the quantity box, you'll want to find a code snippet like this one:
and replace it with:
For example:
3.2 Hit SAVE and then CONNECT Round-Up. Then, view your cart with round-up and you’ll see the Round-Up quantity box is gone.
4. To hide the Round-Up price increments, find a code snippet like this one:
and replace it with:
For example:
Here is what the cart looks like with Round-Up enabled and both the price increments and the quantity box gone:
Hit SAVE and then CONNECT to go live.
If you don’t see your round-up widget appear, contact support@dailykarma.com and we will assist you within 72 hours
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article