Find Jobs
Hire Freelancers

Custom Shopify Code for Displaying Tag Descriptions

£30-250 GBP

Completed
Posted almost 8 years ago

£30-250 GBP

Paid on delivery
I'm working on a Shopify site for a client who requires products 'tags' to have their own descriptions at the bottom of the 'collections' page, in place of the standard 'collection' description for SEO purposes. This is my first time working with Spotify and I'm having trouble developing the code. I'm basically looking for a snippet of code I can just paste of the bottom of collections.liquid. I'm thinking of using posts or pages as the source of where to pull the content. I.e - Each tag will have a dedicated hidden page or post created with all the content I want to pull. The tags won't change very often and are used in the main menu so I can manually update the [login to view URL] page as new things are added or removed. The process would be, create a page/post for every tag, get some form of ID number for the post/page and write a load of if/else statements at the bottom of [login to view URL] If it were PHP, this is essentially the code I wish to re-create. //If no tag has is selected, display main collection description if ($selectedTag == false) { echo $tagDescription; } else //If tag is 'Paint-Sprayers', displayed the content of the dedicated page/post assigned by ID if ($selectedTag == "Airless-Paint-Sprayers") { $pageId = 18267392; echo $pageId['content']; } else //If tag is 'Decorating-Tools' displayed the content of the dedicated page/post assigned by ID if ($selectedTag == "Decorating-Tools") { $pageId = 18267392; echo $pageId['content']; } I'm sure this is possible, I just haven't got the time to play. It should only take half an hour for someone who knows how to access selected tags on Collection pages. I'm happy to listen to your suggestions if you feel there is a better way to achieve this.
Project ID: 10218326

About the project

8 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Let me do this for you. No milestone needed, can get started right away. Feel free interview or get in touch! Regards, Chris
£33 GBP in 3 days
5.0 (17 reviews)
4.4
4.4
8 freelancers are bidding on average £173 GBP for this job
User Avatar
Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks
£247 GBP in 12 days
4.8 (298 reviews)
7.9
7.9
User Avatar
Greetings Ready to discuss the project in detail and able to deliver you work that you looking in shopify site Thanks Shiv
£133 GBP in 3 days
4.8 (414 reviews)
7.2
7.2
User Avatar
Hi Ready to start this work.. i have more then 6 year experience in this fields.. i have already worked about this skilled Joomla , Php , web-design, graphic design html5,css3,ui, Open cart , Wordpress , Drupal , Javascript , cake Php , Smarty , Os commerce , theme integretion , eCommerce related, Api related , Shopping cart related and many other things related.. so pls let me know your view.. Thanks
£164 GBP in 7 days
4.6 (59 reviews)
5.7
5.7
User Avatar
Hi, I have expertise over Shopify and will absolutely assist you in this work with my best outcomes. I would like to speak with you regarding the discussion of the requirement. Kindly initiate message box for further discussion.
£166 GBP in 3 days
5.0 (4 reviews)
3.5
3.5

About the client

Flag of UNITED KINGDOM
Hemel Hempstead, United Kingdom
5.0
6
Payment method verified
Member since Mar 17, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.