Adding Schema.org Mark Up |
Post Reply | Page <12 |
Author | |
BDavid
Newbie Joined: 20-February-2013 Location: Las Vegas Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | Page <12 |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |