Thread Rating:
  • 0 Vote(s) - 0 Average
Share Thread:
How to add Poducts schema code for shopify website ?
#1
How to add Poducts schema code for shopify website ?
Reply
#2
Just add like any other site. Just check it once after you have added.

And if run into any problems its better that you consult to Shopify community for that.
Reply
#3
(10-19-2019, 07:50 AM)bsystems Wrote: Just add like any other site. Just check it once after you have added.

And if run into any problems its better that you consult to Shopify community for that.

The OP is asking on how to add products in schema code, not just add like any other site because you said nothing at all.
Reply
#4
(10-25-2019, 06:38 AM)steveposter Wrote:
(10-19-2019, 07:50 AM)bsystems Wrote: Just add like any other site. Just check it once after you have added.

And if run into any problems its better that you consult to Shopify community for that.

The OP is asking on how to add products in schema code, not just add like any other site because you said nothing at all.

I didn't know that they are different. Then why didn't you answered the query?
Reply
#5
Why are you guys quarreling? OP has clearly bolted.
Reply
#6
Adding Product schema code to your Shopify website is a great way to help manage product inventory and keep track of sales. This code can be added to the themes or pages you want to include it on, and it will automatically update when new products are added, or changes are made to existing products.
To add Product schema code:
Open the Shopify admin area by visiting the Shopify website.
Click on Themes in the left-hand menu and select the theme you want to modify.
Locate Products in the right-hand menu and click on Add New underneath it.
In the newly opened window, enter a name for this product.
Click here for more information on digital marketing services.
Reply
#7
login to the backend of your Shopify store and go-to the online store>Themes>Action>Edit Code.
SmartScrapers is a data scraping services provider company.
Reply
#8
just make sure the code/scrip is error-free, warnings can be ignored.
Reply
#9
Added the code @OP?
Any queries/confusion?
Reply
#10
To add Product Schema code to your Shopify website, follow these steps:

Log in to your Shopify account and go to the "Online Store" section.

Click on "Themes" and then select "Actions" and "Edit Code" on the theme that you want to add the schema code to.

Open the "product-template.liquid" file.

Scroll down to the bottom of the file and locate the </body> tag.

Just before the </body> tag, paste the following code:

json
Copy code
<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Product",
  "name": "{{ product.title }}",
  "image": "{{ product.featured_image | img_url: '600x600' }}",
  "description": "{{ product.description | strip_html | escape }}",
  "sku": "{{ product.sku }}",
  "brand": {
    "@type": "Brand",
    "name": "{{ product.vendor }}"
  },
  "offers": {
    "@type": "Offer",
    "price": "{{ product.price }}",
    "priceCurrency": "{{ shop.currency }}"
  }
}
</script>
Save the changes and preview the product page to ensure that the schema code is displaying correctly.
Note: Make sure to replace the liquid variables in the code with the appropriate variable names used in your Shopify store. Also, note that this code only covers the basic product schema, and additional schema properties can be added as per your requirement.
eUKHost : Managed Web Hosting Provider
cPanel Web Hosting | Linux VPS Hosting | Secure Cloud Server Hosting
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Ad

[-]
Top Articles
100+ Social Bookmarking Sites List
55+ Image Submission Sites List

[-]
Recent Posts
Holiday Season Mega Deal: VPS for Just $9.88/Year!!!
Hello! Our VPS deals are going strong, lock in your savings now!DediRock — 05:30 PM
ps://www.facebook.com/SerenityGardenCBDGummiestrialus/
  ashikareghav — 04:15 PM
Google SERP Changes & Algorithm Updates -December 2024
Increase in bot like traffic since the last 24 hours. G is slowly moving towards...avinash29 — 03:08 PM
Google SERP Changes & Algorithm Updates -December 2024
Increase in bot like traffic since the last 24 hours. G is slowly moving towards c...lambi — 03:06 PM
What is Vantage MDM?
VantageMDM is a comprehensive solution to manage android kiosk mode. Limit devices to sin...vantageMDM — 08:47 AM

[-]
Follow us on Facebook