Cant select multiple styles of a product with their respective Prices

This is the product link, The Mar Collection: Best ceramic kitchen collection – Ceramic Kitchen
I want to scrape the different Style (means variants) and its respective Price of this above product, that has a link above.
Suppose this above product has three variants so, the final data should have 3 rows of consisting of its Style (means variants) and its respective Price! Help!!!
The Sitemap is below.

{"_id":"CeramicKitchen_Collections","startUrl":["https://ceramickitchen.in/collections/dinnerware?page=[1-2]"],"selectors":[{"id":"URL Text","linkType":"linkFromHref","multiple":true,"parentSelectors":["_root"],"selector":".h5 a","type":"SelectorLink"},{"id":"Name","multiple":false,"parentSelectors":["URL Text"],"regex":"","selector":".product__title h1","type":"SelectorText"},{"id":"Item Status","multiple":false,"parentSelectors":["URL Text"],"regex":"","selector":".product-form__submit span","type":"SelectorText"},{"id":"TEXT Description","multiple":false,"parentSelectors":["URL Text"],"regex":"","selector":"div.product__description","type":"SelectorText"},{"id":"HTML Description","multiple":false,"parentSelectors":["URL Text"],"regex":"","selector":"div.product__description","type":"SelectorHTML"},{"extractAttribute":"src","id":"Images","parentSelectors":["URL Text"],"selector":"div.product__media img","type":"SelectorGroup"},{"clickActionType":"real","clickElementSelector":".js.product-form__input label","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":2000,"discardInitialElements":"discard-when-click-element-exists","id":"StylePriceWrapper","multiple":true,"parentSelectors":["URL Text"],"selector":"body","type":"SelectorElementClick"},{"id":"Price","multiple":false,"parentSelectors":["StylePriceWrapper"],"regex":"","selector":"span.price-item--regular","type":"SelectorText"},{"id":"Style","multiple":false,"parentSelectors":["StylePriceWrapper"],"regex":"","selector":".js label","type":"SelectorText"}]}

Hi,

The data selectors should be nested under the variant click.

Also, I adjusted the Style selector to display the selected variant text.

{"_id":"CeramicKitchen_Collections","startUrl":["https://ceramickitchen.in/collections/dinnerware?page=[1-2]"],"selectors":[{"id":"URL Text","linkType":"linkFromHref","multiple":true,"parentSelectors":["_root"],"selector":".h5 a","type":"SelectorLink"},{"id":"Name","multiple":false,"parentSelectors":["StylePriceWrapper"],"regex":"","selector":".product__title h1","type":"SelectorText"},{"id":"Item Status","multiple":false,"parentSelectors":["StylePriceWrapper"],"regex":"","selector":".product-form__submit span","type":"SelectorText"},{"id":"TEXT Description","multiple":false,"parentSelectors":["StylePriceWrapper"],"regex":"","selector":"div.product__description","type":"SelectorText"},{"id":"HTML Description","multiple":false,"parentSelectors":["StylePriceWrapper"],"regex":"","selector":"div.product__description","type":"SelectorHTML"},{"extractAttribute":"src","id":"Images","parentSelectors":["StylePriceWrapper"],"selector":"div.product__media img","type":"SelectorGroup"},{"clickActionType":"real","clickElementSelector":".js.product-form__input label","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":1000,"discardInitialElements":"discard-when-click-element-exists","id":"StylePriceWrapper","multiple":true,"parentSelectors":["URL Text"],"selector":"body","type":"SelectorElementClick"},{"id":"Price","multiple":false,"parentSelectors":["StylePriceWrapper"],"regex":"","selector":"span.price-item--regular","type":"SelectorText"},{"id":"Style","multiple":false,"parentSelectors":["StylePriceWrapper"],"regex":"","selector":".js input:checked +","type":"SelectorText"}]}
1 Like