Schema markup for product categories and subcategories – how to?

I’ve been wondering about which Schema should I use for an e-commerce site of one of my clients’ website. Can’t show proper code and sensitive information, but I’ll try to explain what I’ve been thinking about.

Right here:

The author says that for category pages I should use ItemList Schema

<script type="application/ld+json">  {  "@context":"",  "@type":"ItemList",  "ItemListElement":  [    {   "@type":"ListItem",    "position":0,    "url":""   },    {    "@type":"ListItem",    "position":1,    "url":""    },    {    "@type":"ListItem",    "position":2,    "url":""    }   ]  } </script> 

Does anyone have an example of how it would look? For example, if I have a category with electric guitars with 5 subcategories that contain certain electric guitar models which would be listed in the schema ListItem. Is that the best schema type for this instance?

Second question – when it comes to subcategories, should I use ItemList Schema?

<script type="application/ld+json"> {     "@context": "",     "@type": "ItemList",     "url": "",     "numberOfItems": "2",     "itemListElement": [           {             "@type": "ListItem",             "position": 1,             "item": {               "@type": "Product",                   "image": "",                   "url": "",                   "name": "Product One",                   "offers": {                       "@type": "Offer",                       "price": "13.00",                       "priceCurrency": "USD",                       "url": ""                   }             }           },           {             "@type": "ListItem",             "position": 2,             "item": {               "@type": "Product",                   "image": "",                   "url": "",                   "name": "Product Two",                   "offers": {                       "@type": "Offer",                       "price": "12.00",                       "priceCurrency": "USD",                       "url": ""                   }               }           }     ] } </script> 

I know that it’s a bit of a gray area for Google when it comes to adding product information on category pages – does that apply also for the subcategory pages?

I would be so thankful for Your help and guidance <3 Cheers

WooCommerce – Display Product image and name on Orders page

I used the solution here (linked below). It works great. However, it glitches when displaying an order containing a product that has since been deleted. Is there a way to modify the code so that on products that have been deleted it just shows nothing instead of a huge paragraph of gibberish? Just curious!

Original solution was by @meloman : Display order items names in WooCommerce admin orders list

Solve Matrix equations with Cross Product: weird system of equations

I would like to find the values {Pfx, Pfy, Pfz} that satisfy the equation A X B = C . The code of everything is at the end, I want to ilustrate with images what i think of first:

A is this:

Matrix A

B is this: {0,0,0}

And C is this: {100,500,200}

The image of the complete code is this one:

Complete code

My variable here are {Pfx,Pfy,Pfz} and the {i,j,k} are the unit vectors. The way that the matrix is shown in the picture corresponds with a trick used to solve in papper this type of matrix.

The solution would give me the value of Pfx in the "x" coordinate (and this would be expressed by Pfx being multiplied with the i vector). And the same mechanism applies with Pfy related with j Vector ; and Pfz related with k.

The problem here comes with the fact that the I can`t find the values {Pfx, Pfy, Pfz} that satisfy the equation A X B = C. I am not sure if the problem lies in the "LinearSolve" comand, in the use of the CrossProduct or in the use of the versor {i, j, k} inside the matrix.

Any kind of help in this regard will be extreamly useful, thanks in advance!!


i := {1, 0, 0}  j := {0, 1, 0}  k := {0, 0, 1}  LinearSolve[({ {i, j, k},{1, 2, 3},{Pfx, Pfy, Pfz}})\[Cross]({{0},{0},{0}}) == ( {{100},{500},{200}} )]    

WooCommerce – New Product Backend Template for Vendors/Employees

I will be running an online store where employees will need to add new variable products to the store regularly. The variable products would all have the exact same variations and pricing values so I am looking to make this process a little easier on my employees.

Is there any way to have a preset template with variations and prices already entered on the backend when employees go to add a new product?

Cancel common factors in symbolic product

Suppose I have the following function

G[n_, k_] := Product[g[n + i]/g[i], {i, 0, k}] 

where $ n,k$ are assumed to be natural numbers and $ g$ is a nonzero symbolic function. I want to simplify the expression G[n,k+1]/G[n,k] and cancel all common terms to get g[n+k+1]/g[k+1]. However, Simplify, FullSimplify, Expand and Cancel all yield the symbolic (not cancelled) product.

Auto-move (scroll) product thumbnails on product page image slider

I’ve got a problem with the product image slider on the product page. I used flex to display thumbnails in one row. There are 5 thumbnails in a row. Images move correctly using direction arrows. How to set up auto-scroll to the next thumbnail in a row? Now it moves (main image changing) but 5 thumbnails in a row are still static. I set overflow-x to auto, so you can see there are the next images in a row.

Basic code:

div.product div.images .flex-control-thumbs {     display:flex;     flex-wrap: nowrap;     overflow-x: auto;     margin: 0 50px; }  div.product div.images .flex-control-thumbs li {     display: flex;     overflow-x: visible;     flex: 1 0 20%; } 

My test site – you can see how it works:

WordPress Product Authentication

Is there any plugins or any option available in WordPress for check authentication of products quality. I’m selling physical products.So prevent any local (duplicate) products.

We put scratch card within box, buyer will scratch a card and number will appear then buyer wi open our website and submit number then a message will appear "thanks for buy this a genuine product" or any context could be. So this is the process, any plugins or anything else possible for do this..

Woocommerce Custom product fields need to be editable after purchase in View Orders Page

I am Using answer code, which works fine.

I want to display that checkout custom fields on My Account > View Order Pages, to allow customer to edit its value after purchase, so Customers can change and save the custom field value.

Any help?