Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I have some products for sale on my Shopify site that I don't want to display a price for. Rather, for those products I just have a "contact us" field where "add to cart" would usually be, and the customer would then email my company for a direct quote.
I have already figured out how to not display a price on individual products via liquid, and to remove the item price from collections I have custom-created.
However, when I click any vendor name (e.g. on a product page or in a custom collection), the site takes me to a collection that's just all of that vendor's products, with the vendor name at the top of the page. I want to keep this feature because it will be useful, but for certain vendors I don't want to display the item price on this vendor collection page, just like with some of my own custom collections. How do I edit a .liquid file for vendor collections or add custom CSS? I cannot find this anywhere in the admin interface.
Thanks for any help!
...collections/vendors?q= is a query endpoint
To output styles for logic based on a collections vendor ,see the current_vendor property on the collection object
https://shopify.dev/docs/api/liquid/objects/collection#collection-current_vendor
For creating/customizing navigation use the link_to_vendor filter, or search through the theme for that filter if customizing https://shopify.dev/docs/api/liquid/filters/link_to_vendor
For trying to control vendors as a group of collections i.e. /collections/brands etc , a starting point is repurposing the old vintage theme customization for collection subsets
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024