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

Fabric Composition: 68% Viscose 18% Nylon 14% Linen

Width: 145cm

Weight: 120gsm

Fabric Details: Lightweight woven viscose mix jacquard

Fabric Care: Wash at 30*c Do not bleach. Do not tumble dry. Cool iron.

This fabric is pictured made up in the Malia top which you will find the pattern for in issue 28 of Fibre Mood Magazine.

Priced by the metre.

Available to purchase in half metre increments. Eg to order 1 metre choose 2, to order 1.5 metres choose 3, to order 2 metres choose 4 and so on.

Viscose Linen Mix Jacquard - Fibre Mood - FM321071 11 - Lilac

€8.50Price
    Product Page: Stores_Product_Widget
    bottom of page