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
Que souhaitez-vous acheter ManHood Plus Gummies?
Manhood Plus Gummies est un produit fortifiant pour les aliments naturels pour la gestion...virilmaxbuy — 06:17 AM
Can VirilMax increase testosterone levels?
VirilMax is a dietary supplement formulated to support male sexual health, vitality, and ...virilmaxbuy — 06:00 AM
https://www.facebook.com/Peak.Wellness.Brain.Official/
height health mind not best complements recognition throughout tasks but additionally fos...toploxz — 05:29 AM
Liberty Shield VPN Review
One of the most best customer care experience you will ever experience. Speed and skill a...cbtech — 05:29 AM
Liberty Shield VPN Review
Share your honest opinion here. Any kind of criticism that will help the owners to imp...Proxy — 05:27 AM

[-]
Follow us on Facebook