Shopify themes, liquid, logos, and UX
Hi all, I have a relatively easy change to do - I would like to add a view our specials image that is a hyperlink to the products page for the relevant product. I have tried making changes by just adding "view our bulk purchase specials" with a hyperlink but it is not displayed. I figure I am changing it in the wrong place (main-cart-items.liquid) line 105. Any help would be greatly appreacieted
Solved! Go to the solution
This is an accepted solution.
Please mark a response as a solution.
Hi @SourceOps
Can you please explain it little more, So I can give solution for this.
Thanks
Thank you for your reply,
We have used a Shopify app that is working quite well with different type of bulk discounts. If you access the product page the widget is displayed there with different options. But we have found that most of our using do not visit the individual pages for each product during their journey - but everyone always ends viewing their cart before they check out. All we want to do in the cart is provide a visual element that tells the user to click here to view bulk discounts (thinking of using an image in the position as shown above) - once this is clicked it just moves the user to the product page of that specific product.
Hello @SourceOps , Welcome to the Shopify Community!
For adding a "View our specials" image with a hyperlink to the relevant product page, ensure:
Correct File: Verify you're modifying the right template file where the content appears.
Syntax: Check your hyperlink syntax in Liquid files: <a href="{{ link_to_your_product_page }}">View our specials</a>.
Theme Customization: Consider using Shopify's theme editor or customization options before direct file edits.
Cache and Preview: Refresh your storefront and use theme preview mode to see changes.
If you need further assistance you can share more details or code snippets.
Thank you - how can I ensure that I am changing the correct file though? I believe I am not as when I make changes it does not appear when saved.
Are you not able to see the changes?
I have made changes to the the main product page that I can see - but no changes made on the cart page shows. This is why I believe I may be changing the wrong page, I am using main-cart-items.liquid.
Resolved thank you - made the required changes on cart-drawer
This is an accepted solution.
Please mark a response as a solution.
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