DEBUT THEME - remove "price","total", "subtotal" in cart page

Solved
NixPlixDix
Excursionist
24 0 6

 

Hello, is there a way to remove marked things in the cart sections.
Im making something along the line of a price inquary submision.

Thank you guys

https://adk-latvia-2.myshopify.com/cart

password: eaxuckScreenshot 2021-11-24 at 13.50.05.png

Accepted Solution (1)

Accepted Solutions
Puma1027
Explorer
48 4 3

This is an accepted solution.

Hi @NixPlixDix 

 

Please add the code in "theme.scss.liquid".

 

.template-cart table tr th:nth-child(2), .template-cart table tr th:nth-child(4) {
    display: none;
}

.template-cart .cart__price, .template-cart .cart__final-price {
    display: none;
}

.template-cart .cart__footer .cart-subtotal, .template-cart .cart__footer .cart__shipping {
    display: none;
}

 

Good luck!

If helpful, please "Like" and Accept Solution.
I am a Shopify developer.
I want to achieve my success through a community with you.
It's my success and soon your success.
If you need help, please contact me!
Skype ID: live:.cid.4149c7e1ff44466c

View solution in original post

Replies 3 (3)
Puma1027
Explorer
48 4 3

This is an accepted solution.

Hi @NixPlixDix 

 

Please add the code in "theme.scss.liquid".

 

.template-cart table tr th:nth-child(2), .template-cart table tr th:nth-child(4) {
    display: none;
}

.template-cart .cart__price, .template-cart .cart__final-price {
    display: none;
}

.template-cart .cart__footer .cart-subtotal, .template-cart .cart__footer .cart__shipping {
    display: none;
}

 

Good luck!

If helpful, please "Like" and Accept Solution.
I am a Shopify developer.
I want to achieve my success through a community with you.
It's my success and soon your success.
If you need help, please contact me!
Skype ID: live:.cid.4149c7e1ff44466c

View solution in original post

ThomasBorowski
Shopify Expert
762 69 202

Simply removing those things isn't going to make much sense because when customers click "Check Out" they'll see prices etc. in the checkout and they'll only be able to complete checkout if they pay (unless you set up a dummy payment method, which isn't ideal either).

 

If you want to set up a way for customers to send an inquiry for a particular product, you should include an inquiry form on the product detail page. This could be done via a theme customization or with an app like https://apps.shopify.com/get-a-quote-by-gs.

★ Smart Upgrades, Tips and Tutorials for Dawn: dawnextras.com
Did my solution work? Help other Community members easily find the correct solution and apply it to their own stores by marking it as the Accepted Solution and giving it a Thumbs Up
PaulNewton
Shopify Partner
3820 275 789

In case a merchant cares about only the labels.

Backup your theme and edit the locales for those Labels by entering a single blank space " " to wipe the default text.

Find those labels by searching "price" or "subtotal" etc.

https://shopify.com/admin/themes/{{current  theme id}}/language?category=checkout%20%26%20system

hopify.com/admin/themes/{{current  theme id}}/language?category=cart

 

For debut to outright remove those elements  and have a quote form is an advanced customization needing a custom contact form , and per @ThomasBorowski's point should also include disabling the checkout button and other payment buttons in the cart and the product pages in favor of a call to action of request-for-quote/price , RFQP.

 

New Feature - Metafield Definitions now available on Orders, Collections and Customers
Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com