I used a product option customizer app, and those options may increase the price. However, as the options are not on my shopify product but rather the app, the product does not show “from $XX” price on collection pages. Does anyone have an idea of how I could fix this? Thank you very much!
Since I don’t know the app you’re using or if it offers any remedy to that, all I can suggest is something outside of the app. You could add a tag to these types of products and then check for that when displaying prices.
{% if product.price_varies or product.tags contains 'variable-price' %}
from
{% endif %}
{{ product.price | money }}
I can’t say for sure because I don’t know how your theme code is set up, but maybe look in Snippets for something like ‘product-grid-item.liquid’ or ‘product-card.liquid’ or similar.
The theme.scss.liquid file is for styling your site, not displaying product prices.
@taylormcgee You just need to change the price of the blue variant to be $2 more than it is now. So if it’s $7 now, update that variant to $9. No coding changes required.
@gina-gregory coding is required because I coded the customization to the product. It like if I added gift wrapping as an option and they clicked yes box for gift wrapping how do I make it so the price increases
Every variant has a price associated with it. Maybe I’m not understanding what you’re trying to do… If you want to add a new option that costs more, you can add an option in the admin for that product, and then adjust the prices of the different variant combinations accordingly.
I want to know how to add (add-ons) to my products. For example on this product page (that does include add ons but doesnt affect the price) I have choose a color but what if I wanted to add an add-on such as “gift wrapping–$2” then the price of the product should go up $2 from the original price. I understand that I can go into setting an manually do it, but I already have customized code. I need it to look cleaner, I will be implementing alot of ad-ons in my products. to come.
So there’s no way to increase the price of a product with an add-on, but you can create the add-on as a separate product, and if the user selects that they want it, you can use javascript to update the price. When they add to cart, use the Ajax API to add both the product and the add-on to the cart at the same time.
@gina-gregory there has to be a way to code it or else there wouldn’t be apps for it. I can make a button and make it a call to action and when they click the button the price increases?
You can look for an app then, but there’s no other way to do this just on the front-end other than the methods I already mentioned. Shopify’s own tutorial on the gift wrapping idea even has you add it as a separate product.
I am having a problem on my website as some products are displaying the from text infront of some products, not on all sale products .You may view it at this link: Sale - Trenton. The Theme I am using is Pipeline.