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

Lucid Button set (20mm)

The galaxy is deep, beautiful and inexorable. It runs forever. Looking up at the colour and patterns gives people infinite reverie. From ancient times to the present, purple and dark blue always represented dreams and mysteries.

10 buttons per set.

Size 20mm

Details

Each button is one of a kind.

Made from resin these kinds of buttons are tough, glossy and have a smooth texture.

They are relatively lightweight and hardly discolour from UV rays.

10 Pack Buttons - Pigeon Wishes - Lucid - 20mm

€11.00Price
Only 2 left in stock
    Product Page: Stores_Product_Widget