ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Search Engine Optimization
  New Posts New Posts RSS Feed - Adding Schema.org Mark Up
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding Schema.org Mark Up

 Post Reply Post Reply Page  <12
Author
Message Reverse Sort Order
BDavid View Drop Down
Newbie
Newbie


Joined: 20-February-2013
Location: Las Vegas
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote BDavid Quote  Post ReplyReply Direct Link To This Post Posted: 21-February-2013 at 12:54pm
1st time posting...

I am looking for some help in adding the schema.org markup to our site.  I have been able to add some limited markup during the product creation (desc, brand, model, etc) in the long description field.  However I have been trying in viewprdcode.asp to add the makeup so every product would receive the same markup "automatically". 

Here is an example of what I have added for the SKU to viewprdcode.asp

'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
' START:  Show SKU
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Public Sub pcs_ShowSKU
IF pHideSKU<>"1" THEN%>
<div class="pcShowProductSku" itemscope itemtype="http://schema.org/product">
<span itemprop="sku">
<%=dictLanguage.Item(Session("language")&"_viewCat_P_8")%>: 
<%'APP-S
if pcv_Apparel="1" then%>
<input name="sku" type="text" value="<%response.write pSku%>" readonly size="40" class="transparentField">
<%else%>
<%=pSku%>
<%end if
'APP-E%>

</span>
</div>
<%ELSE%>
<input name="sku" type="hidden" value="<%response.write pSku%>">
<%END IF
End Sub
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
' END:  Show SKU
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Googles structured date testing tool shows that it sees the mark up.  The problem I seem to run into is the markup does not see any of the returned values (the actual SKU).

Hoping that somebody has some insight on this as I am brand new to it.

Thank you in advance for your time and assistance,

Brian


Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.