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
Which are the best Inspiral Books about Marketing?
Influence and This is MarketingAlex Jones — 02:12 PM
What does the Data Companies actually do??
At their core, data analytics companies transform raw, often unstructured data into actio...Alex Jones — 02:03 PM
How to know about a domain's history?
Checking a domain's history before buying it is an intelligent way to avoid problems down...Alex Jones — 01:56 PM
Keyword Clustering
What is keyword clustering and how I can make the cluster of keywords? Is there any too...jahnvi arora — 09:03 AM
Google Algorithms
Google initiated the rollout of its latest algorithm update, dubbed the “September 2023 H...charlesprabhu — 08:46 AM

[-]
Follow us on Facebook