FREE DELIVERY TO ALL OF CONTINENTAL US

5 Star Reviews

Industry Experts

Free Shipping

Free Color Samples

Warranty Cover
","image":{"data":"https://cdn11.bigcommerce.com/s-ljo0upzvqc/images/stencil/{:size}/k/modern_planters_category__94106.original.jpg","alt":"Modern Planters"},"subcategories":[],"shop_by_price":[{"url":"https://potsplantersandmore.com/modern-planters/?price_min=0&price_max=332&sort=bestselling","low":{"formatted":"$0.00","value":0,"currency":"USD"},"high":{"formatted":"$332.00","value":332,"currency":"USD"},"selected":false},{"url":"https://potsplantersandmore.com/modern-planters/?price_min=332&price_max=563&sort=bestselling","low":{"formatted":"$332.00","value":332,"currency":"USD"},"high":{"formatted":"$563.00","value":563,"currency":"USD"},"selected":false},{"url":"https://potsplantersandmore.com/modern-planters/?price_min=563&price_max=793&sort=bestselling","low":{"formatted":"$563.00","value":563,"currency":"USD"},"high":{"formatted":"$793.00","value":793,"currency":"USD"},"selected":false},{"url":"https://potsplantersandmore.com/modern-planters/?price_min=793&price_max=1024&sort=bestselling","low":{"formatted":"$793.00","value":793,"currency":"USD"},"high":{"formatted":"$1,024.00","value":1024,"currency":"USD"},"selected":false},{"url":"https://potsplantersandmore.com/modern-planters/?price_min=1024&price_max=1254&sort=bestselling","low":{"formatted":"$1,024.00","value":1024,"currency":"USD"},"high":{"formatted":"$1,254.00","value":1254,"currency":"USD"},"selected":false}]}
const productsOnPage = category?.products;
const products = [];
for (let i = 0; i < productsOnPage.length; i++) {
const product = {
productId: productsOnPage[i].id.toString(),
sku: productsOnPage[i].sku,
quantity: productsOnPage[i].quantity,
name: productsOnPage[i].name,
price: productsOnPage[i].price.without_tax.value,
brand: productsOnPage[i].brand?.name,
position: i + 1,
url: productsOnPage[i].url,
imageUrl: productsOnPage[i].image.data.replace("{:size}", "200x200"),
};
products.push(product);
}
return {products, id: category?.id?.toString(), name: category?.name};
}
async function setCartToken() {
const response = await fetch("/api/storefront/cart");
const data = await response.json();
if (data) {
const cart = data[0];
await fueledClient.setFrontendStorage(window.fueledConfig['frontendStorageUrl'], cart.id);
}
}
})();