let productQuantityNum = 20; //initialize product quantity variable let soldOutText = "Edition Sold Out" //initialize variable to display "sold out" text when inventory is 0 $w.onReady(function () { //TODO: write your page related code here... $w('#productPage1').getProduct() //get current product .then( (product) => { productQuantityNum = product.quantityInStock; //get quantity in stock for current product if (productQuantityNum > 0) { //if it's greater than 0, Display number remaining let productQuantityString = productQuantityNum.toString(); $w("#quantityRemainingText").text = productQuantityString + " remaining"; } else { $w("#quantityRemainingText").text = soldOutText; //display sold out text } } ) .catch( (error) => { console.log(error); } ); });
top of page

Add Matching Thread

Discover the artistic magic of Stylecraft Impressions Aran yarn in the Degas shade. Stylecraft has drawn its inspiration directly from the legendary works of Impressionist painters, mimicking their unique approach to colour and style. This Aran yarn exhibits a unique blend of silky smoothness and subtle textural play.

Composition: 100% Acrylic

Ball Weight: 100g

Ball Length: 220 metres

Needle Size: 4.5mm

Stylecraft - Aran Weight Yarn - Impressions - Degas - 5411

€5.50Price
Out of Stock
    Product Page: Stores_Product_Widget
    bottom of page