var products = [];
products[211] = ["Bluelight Blocking Glasses", 239.99, "Urban Vision Frames", "Designed for potential comfort and performance, these blue light blockers may help offer a snug and watertight fit. Equipped with anti-fog lenses, they may help maintain clear vision in the water, and with UV protection, they may help shield your eyes from harmful sunlight during outdoor swims. Suitable for all swimmers, from novice to expert, the adjustable straps may help create a customized and comfortable feel. Discover a potential synergy of style and practicality, as our premium swimming goggles may help elevate your time in the water.", "
", "6 Pairs", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "blueglass"];
products[212] = ["Bluelight Blocking Glasses", 199.99, "Urban Vision Frames", "Designed for potential comfort and performance, these blue light blockers may help offer a snug and watertight fit. Equipped with anti-fog lenses, they may help maintain clear vision in the water, and with UV protection, they may help shield your eyes from harmful sunlight during outdoor swims. Suitable for all swimmers, from novice to expert, the adjustable straps may help create a customized and comfortable feel. Discover a potential synergy of style and practicality, as our premium swimming goggles may help elevate your time in the water.", "
", "5 Pairs", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "blueglass"];
products[213] = ["Bluelight Blocking Glasses", 159.99, "Urban Vision Frames", "Designed for potential comfort and performance, these blue light blockers may help offer a snug and watertight fit. Equipped with anti-fog lenses, they may help maintain clear vision in the water, and with UV protection, they may help shield your eyes from harmful sunlight during outdoor swims. Suitable for all swimmers, from novice to expert, the adjustable straps may help create a customized and comfortable feel. Discover a potential synergy of style and practicality, as our premium swimming goggles may help elevate your time in the water.", "
", "4 Pairs", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "blueglass"];
products[214] = ["Bluelight Blocking Glasses", 139.99, "Urban Vision Frames", "Designed for potential comfort and performance, these blue light blockers may help offer a snug and watertight fit. Equipped with anti-fog lenses, they may help maintain clear vision in the water, and with UV protection, they may help shield your eyes from harmful sunlight during outdoor swims. Suitable for all swimmers, from novice to expert, the adjustable straps may help create a customized and comfortable feel. Discover a potential synergy of style and practicality, as our premium swimming goggles may help elevate your time in the water.", "
", "3 Pairs", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "blueglass"];
products[215] = ["Bluelight Blocking Glasses", 119.99, "Urban Vision Frames", "Designed for potential comfort and performance, these blue light blockers may help offer a snug and watertight fit. Equipped with anti-fog lenses, they may help maintain clear vision in the water, and with UV protection, they may help shield your eyes from harmful sunlight during outdoor swims. Suitable for all swimmers, from novice to expert, the adjustable straps may help create a customized and comfortable feel. Discover a potential synergy of style and practicality, as our premium swimming goggles may help elevate your time in the water.", "
", "2 Pairs", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "blueglass"];
products[216] = ["Bluelight Blocking Glasses", 39.99, "Urban Vision Frames", "Designed for potential comfort and performance, these blue light blockers may help offer a snug and watertight fit. Equipped with anti-fog lenses, they may help maintain clear vision in the water, and with UV protection, they may help shield your eyes from harmful sunlight during outdoor swims. Suitable for all swimmers, from novice to expert, the adjustable straps may help create a customized and comfortable feel. Discover a potential synergy of style and practicality, as our premium swimming goggles may help elevate your time in the water.", "
", "1 Pair", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "blueglass"];
products[217] = ["ACV Gummies", 129.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "1 Bottle", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for One Time for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[218] = ["ACV Gummies", 149.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "2 Bottles", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for One Time for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[219] = ["ACV Gummies", 189.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "3 Bottles", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for One Time for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[220] = ["ACV Gummies", 199.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "4 Bottles", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for One Time for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[221] = ["ACV Gummies", 239.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "5 Bottles", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for One Time for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[222] = ["ACV Gummies", 259.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "6 Bottles", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for One Time for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[223] = ["ACV Gummies", 129.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "1 Bottle - Monthly Subscription", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. This is an automatic monthly subscription, and you agree that the same amount will be billed to your credit card each month until you cancel. Unless you take steps to cancel, your subscription will continue and your card will be charged for each subsequent monthly shipment. You may cancel at any time by calling 8552127095 or emailing care@urbanvisionframes.com. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__, please contact us during Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[224] = ["ACV Gummies", 149.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "2 Bottles - Monthly Subscription", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. This is an automatic monthly subscription, and you agree that the same amount will be billed to your credit card each month until you cancel. Unless you take steps to cancel, your subscription will continue and your card will be charged for each subsequent monthly shipment. You may cancel at any time by calling 8552127095 or emailing care@urbanvisionframes.com. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__, please contact us during Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[225] = ["ACV Gummies", 189.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "3 Bottles - Monthly Subscription", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. This is an automatic monthly subscription, and you agree that the same amount will be billed to your credit card each month until you cancel. Unless you take steps to cancel, your subscription will continue and your card will be charged for each subsequent monthly shipment. You may cancel at any time by calling 8552127095 or emailing care@urbanvisionframes.com. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__, please contact us during Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[226] = ["ACV Gummies", 199.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "4 Bottles - Monthly Subscription", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. This is an automatic monthly subscription, and you agree that the same amount will be billed to your credit card each month until you cancel. Unless you take steps to cancel, your subscription will continue and your card will be charged for each subsequent monthly shipment. You may cancel at any time by calling 8552127095 or emailing care@urbanvisionframes.com. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__, please contact us during Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[227] = ["ACV Gummies", 239.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "5 Bottles - Monthly Subscription", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. This is an automatic monthly subscription, and you agree that the same amount will be billed to your credit card each month until you cancel. Unless you take steps to cancel, your subscription will continue and your card will be charged for each subsequent monthly shipment. You may cancel at any time by calling 8552127095 or emailing care@urbanvisionframes.com. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__, please contact us during Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[228] = ["ACV Gummies", 259.99, "Urban Vision Frames", "The ACV gummies may help you enjoy the benefits of Apple Cider Vinegar in the form of delicious gummies without the foul taste & smell of liquid ACV. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "6 Bottles - Monthly Subscription", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. This is an automatic monthly subscription, and you agree that the same amount will be billed to your credit card each month until you cancel. Unless you take steps to cancel, your subscription will continue and your card will be charged for each subsequent monthly shipment. You may cancel at any time by calling 8552127095 or emailing care@urbanvisionframes.com. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__, please contact us during Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "supplement"];
products[229] = ["Detox", 59.99, "Urban Vision Frames", "The Detox supplement is formulated with a blend of gut-loving fiber extracts and may help with internal cleansing & digestive health. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation. For best results it is essential to include a healthy diet & regular exercise in your daily routine along with supplementation.", "
", "2 Bottles", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your package within 3-5 business days of payment via USPS First Class Mail. I agree that my credit card charge will appear as Urban Vision Frames.", "single"];
products[230] = ["The Evolution of Optical Glass", 1.12, "Urban Vision Frames", "Discover the fascinating history of optical glass and how lens technology has evolved over centuries to protect and enhance human vision. From early magnifying lenses to modern blue light blocking technology, this guide traces the journey of eyewear innovation.", "
", "1 Ebook", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook"];
products[231] = ["Screen Stress & Digital Eye Strain Relief", 5.49, "Urban Vision Frames", "Learn proven techniques to manage and relieve the stress and eye strain caused by prolonged screen exposure. This guide covers practical exercises, workspace optimization, and daily habits that may help reduce digital eye fatigue, headaches, and tension.", "
", "1 Ebook", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook"];
products[232] = ["Brain & Vision Training for the Digital Age", 19.88, "Urban Vision Frames", "Sharpen your cognitive performance and protect your visual health in the digital age. This comprehensive guide covers brain training exercises that also help improve focus, reduce visual fatigue from screens, and keep your mind sharp despite heavy screen time.", "
", "1 Ebook", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook"];
products[233] = ["Beat Screen Fatigue: Energy & Eye Care Guide", 24.95, "Urban Vision Frames", "Combat the energy-draining effects of blue light exposure and digital fatigue. This guide reveals how screen time depletes your energy, contributes to eye strain and dark circles, and provides actionable strategies to reclaim your vitality and protect your vision.", "
", "1 Ebook", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook"];
products[234] = ["Mindful Screen Time: Digital Wellness Guide", 25.95, "Urban Vision Frames", "Master the art of mindful screen usage to protect your eyes and mental clarity. This guide teaches awareness-based techniques to reduce unconscious screen habits, take restorative eye breaks, and create a healthier relationship with your digital devices.", "
", "1 Ebook", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook"];
products[235] = ["Holistic Vision & Digital Wellness", 29.88, "Urban Vision Frames", "Take a whole-body approach to maintaining your eye health and overall wellness in the digital age. This holistic guide covers natural remedies, lifestyle changes, and complementary practices that may help support vision health alongside your blue light blocking glasses.", "
", "1 Ebook", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook"];
products[236] = ["The Desk Worker's Pain-Free Vision Guide", 32.74, "Urban Vision Frames", "A complete guide for desk workers suffering from eye strain, back pain, and postural issues caused by prolonged screen time. Learn ergonomic setups, targeted exercises, and daily habits that may help keep your eyes comfortable and your body pain-free at the desk.", "
", "1 Ebook", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook"];
products[237] = ["Digital Eye Yoga & Screen Detox", 39.74, "Urban Vision Frames", "Discover the power of eye yoga exercises specifically designed to relieve digital eye strain, plus complete screen detox techniques for the modern age. Includes step-by-step eye movement routines, palming exercises, and focus-shifting techniques used by vision specialists.", "
", "1 Ebook", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook"];
products[238] = ["Blue Light & Sleep: Rest & Recovery Guide", 40.99, "Urban Vision Frames", "Understand how blue light exposure from screens disrupts your sleep cycle and learn proven strategies to restore healthy sleep patterns. This guide covers the science of blue light and melatonin, evening screen routines, and recovery techniques for better rest.", "
", "1 Ebook", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook"];
products[239] = ["Nutrition for Eye Health & Clear Vision", 48.99, "Urban Vision Frames", "Fuel your eyes with the right nutrients. This guide reveals the anti-inflammatory foods, vitamins, and dietary habits that may help support eye health and protect against digital eye strain. Includes meal plans and recipes specifically designed for vision wellness.", "
", "1 Ebook", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook"];
products[240] = ["Eye Care Essentials Bundle", 59.55, "Urban Vision Frames", "Build your own digital wellness ebook bundle! Select your package size below, then choose your titles from our collection of 10 expert-authored ebooks covering eye strain relief, screen fatigue, brain training, nutrition for eye health, and more.
How It Works: Select your bundle size below and add to cart. After checkout, you will receive an email with a link to choose your specific ebook titles from our full catalog. All ebooks are delivered as instant digital downloads (PDF format) to the email address used at checkout. No physical shipping required â access your ebooks immediately after your title selections are confirmed.", "
", "2 Ebooks", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[241] = ["Eye Care Essentials Bundle", 64.99, "Urban Vision Frames", "Build your own digital wellness ebook bundle! Select your package size below, then choose your titles from our collection of 10 expert-authored ebooks covering eye strain relief, screen fatigue, brain training, nutrition for eye health, and more.
How It Works: Select your bundle size below and add to cart. After checkout, you will receive an email with a link to choose your specific ebook titles from our full catalog. All ebooks are delivered as instant digital downloads (PDF format) to the email address used at checkout. No physical shipping required â access your ebooks immediately after your title selections are confirmed.", "
", "3 Ebooks", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[242] = ["Eye Care Essentials Bundle", 69.74, "Urban Vision Frames", "Build your own digital wellness ebook bundle! Select your package size below, then choose your titles from our collection of 10 expert-authored ebooks covering eye strain relief, screen fatigue, brain training, nutrition for eye health, and more.
How It Works: Select your bundle size below and add to cart. After checkout, you will receive an email with a link to choose your specific ebook titles from our full catalog. All ebooks are delivered as instant digital downloads (PDF format) to the email address used at checkout. No physical shipping required â access your ebooks immediately after your title selections are confirmed.", "
", "4 Ebooks", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[243] = ["Eye Care Essentials Bundle", 79.98, "Urban Vision Frames", "Build your own digital wellness ebook bundle! Select your package size below, then choose your titles from our collection of 10 expert-authored ebooks covering eye strain relief, screen fatigue, brain training, nutrition for eye health, and more.
How It Works: Select your bundle size below and add to cart. After checkout, you will receive an email with a link to choose your specific ebook titles from our full catalog. All ebooks are delivered as instant digital downloads (PDF format) to the email address used at checkout. No physical shipping required â access your ebooks immediately after your title selections are confirmed.", "
", "5 Ebooks", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[244] = ["Digital Wellness Library", 109.88, "Urban Vision Frames", "Get the Digital Wellness Library â a comprehensive collection of ebooks covering every aspect of eye care, screen wellness, and digital health. Choose your library size below to get the coverage you need.
What's Included: Each library tier gives you a set number of ebooks from our full 10-title catalog covering eye strain relief, brain & vision training, screen fatigue recovery, mindful screen time, holistic vision wellness, desk worker ergonomics, eye yoga, blue light & sleep, and nutrition for eye health.
How It Works: Select your library size and add to cart. After checkout, you will receive an email with a link to select your specific titles. All ebooks are delivered as instant digital downloads (PDF format) to your email. No physical shipping â read immediately on any device. The 10-Book + Bonus tier includes exclusive quick-reference eye exercise charts and a digital wellness checklist.", "
", "6 Ebooks", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[245] = ["Digital Wellness Library", 119.48, "Urban Vision Frames", "Get the Digital Wellness Library â a comprehensive collection of ebooks covering every aspect of eye care, screen wellness, and digital health. Choose your library size below to get the coverage you need.
What's Included: Each library tier gives you a set number of ebooks from our full 10-title catalog covering eye strain relief, brain & vision training, screen fatigue recovery, mindful screen time, holistic vision wellness, desk worker ergonomics, eye yoga, blue light & sleep, and nutrition for eye health.
How It Works: Select your library size and add to cart. After checkout, you will receive an email with a link to select your specific titles. All ebooks are delivered as instant digital downloads (PDF format) to your email. No physical shipping â read immediately on any device. The 10-Book + Bonus tier includes exclusive quick-reference eye exercise charts and a digital wellness checklist.", "
", "7 Ebooks", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[246] = ["Digital Wellness Library", 129.98, "Urban Vision Frames", "Get the Digital Wellness Library â a comprehensive collection of ebooks covering every aspect of eye care, screen wellness, and digital health. Choose your library size below to get the coverage you need.
What's Included: Each library tier gives you a set number of ebooks from our full 10-title catalog covering eye strain relief, brain & vision training, screen fatigue recovery, mindful screen time, holistic vision wellness, desk worker ergonomics, eye yoga, blue light & sleep, and nutrition for eye health.
How It Works: Select your library size and add to cart. After checkout, you will receive an email with a link to select your specific titles. All ebooks are delivered as instant digital downloads (PDF format) to your email. No physical shipping â read immediately on any device. The 10-Book + Bonus tier includes exclusive quick-reference eye exercise charts and a digital wellness checklist.", "
", "8 Ebooks", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[247] = ["Digital Wellness Library", 139.48, "Urban Vision Frames", "Get the Digital Wellness Library â a comprehensive collection of ebooks covering every aspect of eye care, screen wellness, and digital health. Choose your library size below to get the coverage you need.
What's Included: Each library tier gives you a set number of ebooks from our full 10-title catalog covering eye strain relief, brain & vision training, screen fatigue recovery, mindful screen time, holistic vision wellness, desk worker ergonomics, eye yoga, blue light & sleep, and nutrition for eye health.
How It Works: Select your library size and add to cart. After checkout, you will receive an email with a link to select your specific titles. All ebooks are delivered as instant digital downloads (PDF format) to your email. No physical shipping â read immediately on any device. The 10-Book + Bonus tier includes exclusive quick-reference eye exercise charts and a digital wellness checklist.", "
", "9 Ebooks", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[248] = ["Digital Wellness Library", 149.91, "Urban Vision Frames", "Get the Digital Wellness Library â a comprehensive collection of ebooks covering every aspect of eye care, screen wellness, and digital health. Choose your library size below to get the coverage you need.
What's Included: Each library tier gives you a set number of ebooks from our full 10-title catalog covering eye strain relief, brain & vision training, screen fatigue recovery, mindful screen time, holistic vision wellness, desk worker ergonomics, eye yoga, blue light & sleep, and nutrition for eye health.
How It Works: Select your library size and add to cart. After checkout, you will receive an email with a link to select your specific titles. All ebooks are delivered as instant digital downloads (PDF format) to your email. No physical shipping â read immediately on any device. The 10-Book + Bonus tier includes exclusive quick-reference eye exercise charts and a digital wellness checklist.", "
", "10 Ebooks", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[249] = ["Digital Wellness Library", 172.35, "Urban Vision Frames", "Get the Digital Wellness Library â a comprehensive collection of ebooks covering every aspect of eye care, screen wellness, and digital health. Choose your library size below to get the coverage you need.
What's Included: Each library tier gives you a set number of ebooks from our full 10-title catalog covering eye strain relief, brain & vision training, screen fatigue recovery, mindful screen time, holistic vision wellness, desk worker ergonomics, eye yoga, blue light & sleep, and nutrition for eye health.
How It Works: Select your library size and add to cart. After checkout, you will receive an email with a link to select your specific titles. All ebooks are delivered as instant digital downloads (PDF format) to your email. No physical shipping â read immediately on any device. The 10-Book + Bonus tier includes exclusive quick-reference eye exercise charts and a digital wellness checklist.", "
", "10 Ebooks + Bonus", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[250] = ["Ultimate Vision & Wellness Vault", 189.96, "Urban Vision Frames", "The Ultimate Vision & Wellness Vault is our premium all-in-one digital wellness package for serious eye care. Choose your vault tier below â each builds on the last:
Silver Vault: All 10 ebooks, printable eye exercise charts, and a digital wellness quick-start guide.
Gold Vault: Everything in Silver + personalized wellness checklists and advanced eye care protocols.
Platinum Vault: Everything in Gold + a complete 30-day digital wellness transformation program with daily action steps.
Diamond Vault: Everything in Platinum + a 90-day extended program with advanced techniques for long-term vision protection.
Ultimate Vault: Everything in Diamond + exclusive video masterclass on vision optimization and digital wellness mastery.
Lifetime Access: Everything in Ultimate + lifetime access to all future ebook releases and content updates at no extra cost.
How It Works: Select your vault tier and add to cart. After checkout, all digital content is delivered instantly via email as downloadable PDF files and access links. No physical shipping required â start reading and learning immediately on any device.", "
", "Silver Vault", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[251] = ["Ultimate Vision & Wellness Vault", 198.7, "Urban Vision Frames", "The Ultimate Vision & Wellness Vault is our premium collection that includes all ebooks, bonus content, exclusive video guides, printable eye exercise charts, and ongoing updates. The Gold tier adds personalized wellness checklists and advanced eye care protocols.", "
", "Gold Vault", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[252] = ["Ultimate Vision & Wellness Vault", 225.5, "Urban Vision Frames", "The Ultimate Vision & Wellness Vault is our premium collection that includes all ebooks, bonus content, exclusive video guides, printable eye exercise charts, and ongoing updates. The Platinum tier adds a complete 30-day digital wellness transformation program.", "
", "Platinum Vault", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[253] = ["Ultimate Vision & Wellness Vault", 239.94, "Urban Vision Frames", "The Ultimate Vision & Wellness Vault is our premium collection that includes all ebooks, bonus content, exclusive video guides, printable eye exercise charts, and ongoing updates. The Diamond tier includes everything plus a 90-day extended wellness program with advanced techniques.", "
", "Diamond Vault", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[254] = ["Ultimate Vision & Wellness Vault", 299.92, "Urban Vision Frames", "The Ultimate Vision & Wellness Vault is our most exclusive package. Includes every ebook, all bonus content, video guides, printable charts, the full 90-day program, plus exclusive masterclass content on vision optimization and digital wellness mastery.", "
", "Ultimate Vault", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
products[255] = ["Ultimate Vision & Wellness Vault", 299.99, "Urban Vision Frames", "The Ultimate Vision & Wellness Vault with Lifetime Access. Includes every ebook, all bonus content, video guides, printable charts, the full 90-day program, masterclass content, PLUS lifetime access to all future ebook releases and content updates at no additional cost.", "
", "Lifetime Access", "By placing an order with us you will be charged $ __prc__ + $0.00 for S&H for __prdqnty__ of Urban Vision Frames __prdname__. If you are not completely satisfied with your purchase of Urban Vision Frames __prdname__ at any time, please call 8552127095 or email care@urbanvisionframes.com, Monday-Saturday: 9 am to 5 pm EST. You will receive your digital download instantly via email. I agree that my credit card charge will appear as Urban Vision Frames.", "ebook-bundle"];
console.log(products);
var orderedItems = [];
var orderedTotQty = 0;
var maxQty = 10;
var shipRates = false;
var handling = 0;
var carturl = "cart.php";
// Function to check item exists in cart
var checkItemExists = function(itemId) {
var order = $.cookie('order');
if (!order) {
return false;
} else {
var itemExists = false;
var items = order.split("|");
order = "";
for (var i = 0; i < items.length; i = i + 1) {
var position = items[i].indexOf("-");
var prodId = items[i].substring(0, position);
var quantity = parseInt(items[i].substring(position + 1));
if (order != "") {
order += "|";
}
if (prodId == itemId) {
return true;
}
}
}
return false;
}
//Funtion adds Items to Cart
var addItem = function(itemId, Qty, showFullCart) {
if (typeof showFullCart === "undefined") {
showFullCart = false;
}
orderedTotQty = $.cookie('orderedTotQty');
if (!orderedTotQty) {
orderedTotQty = 0;
}
Qty = parseInt(Qty);
if(Qty > maxQty) {
alert("Maximum " + maxQty + " of this product can be selected in a single order");
return false;
}
var order = $.cookie('order');
if (!order) {
order = itemId + "-" + Qty;
orderedItems[itemId] = Qty;
} else {
var itemExists = false;
var items = order.split("|");
order = "";
for (var i = 0; i < items.length; i = i + 1) {
var position = items[i].indexOf("-");
var prodId = items[i].substring(0, position);
var quantity = parseInt(items[i].substring(position + 1));
if (order != "") {
order += "|";
}
if (prodId == itemId) {
alert("Product already exist in cart");
return false;
if((quantity + Qty) > maxQty) {
alert("Maximum " + maxQty + " of this product can be selected in a single order");
return false;
}
quantity += Qty;
order += prodId + "-" + quantity;
itemExists = true;
} else {
order += prodId + "-" + quantity;
}
orderedItems[prodId] = quantity;
}
if (!itemExists) {
if (order != "") {
order += "|";
}
order += itemId + "-" + Qty;
orderedItems[itemId] = Qty;
}
}
orderedTotQty = parseInt(orderedTotQty);
orderedTotQty += Qty;
$('.cartqty').html(orderedTotQty);
$.cookie('order', order);
$.cookie('orderedTotQty', orderedTotQty);
var url = window.location.pathname;
var filename = url.substring(url.lastIndexOf('/') + 1);
if (filename == carturl) {
showCart(showFullCart, 'add', itemId);
} else {
$(location).attr('href', carturl);
}
};
//Funtion decrements Items to Cart
var removeItem = function(itemId, Qty) {
Qty = parseInt(Qty);
var order = $.cookie('order');
if (!order) {
orderedItems[itemId] = 0;
refreshRow(itemId);
} else {
var items = order.split("|");
order = "";
for (var i = 0; i < items.length; i = i + 1) {
var position = items[i].indexOf("-");
var prodId = items[i].substring(0, position);
var quantity = parseInt(items[i].substring(position + 1));
if (prodId == itemId) {
quantity -= Qty;
if (quantity > 0) {
if (order != "") {
order += "|";
}
order += prodId + "-" + quantity;
}
itemExists = true;
orderedItems[prodId] = quantity;
refreshRow(itemId);
} else {
if (order != "") {
order += "|";
}
order += prodId + "-" + quantity;
orderedItems[prodId] = quantity;
}
}
}
orderedTotQty -= Qty;
$('.cartqty').html(orderedTotQty);
$.cookie('order', order);
$.cookie('orderedTotQty', orderedTotQty);
var url = window.location.pathname;
var filename = url.substring(url.lastIndexOf('/') + 1);
if (filename == carturl) {
showCart(false, 'remove', itemId);
} else {
$(location).attr('href', carturl);
}
};
//Funtion sets Item quantity on the Cart
var setItemQty = function(itemId, Qty) {
Qty = parseInt(Qty);
if(Qty > maxQty || Qty < 0) {
return false;
}
var order = $.cookie('order');
orderedTotQty = 0;
if (!order) {
orderedItems[itemId] = 0;
} else {
var items = order.split("|");
order = "";
for (var i = 0; i < items.length; i = i + 1) {
var position = items[i].indexOf("-");
var prodId = items[i].substring(0, position);
var quantity = parseInt(items[i].substring(position + 1));
if (prodId == itemId) {
quantity = Qty;
if (order != "") {
order += "|";
}
order += prodId + "-" + quantity;
itemExists = true;
} else {
if (order != "") {
order += "|";
}
order += prodId + "-" + quantity;
}
orderedItems[prodId] = quantity;
orderedTotQty += quantity;
}
}
$('.cartqty').html(orderedTotQty);
$.cookie('order', order);
$.cookie('orderedTotQty', orderedTotQty);
var url = window.location.pathname;
var filename = url.substring(url.lastIndexOf('/') + 1);
if (filename == carturl) {
showCart(false, 'set', itemId);
} else {
$(location).attr('href', carturl);
}
};
var removeRowItem = function(itemId, showFullCart) {
if (typeof showFullCart === "undefined") {
showFullCart = false;
}
var order = $.cookie('order');
if (!order)
{
orderedTotQty = 0;
} else {
var items = order.split("|");
order = "";
orderedTotQty = 0;
orderedItems = null;
orderedItems = new Array();
for (var i = 0; i < items.length; i = i + 1) {
var position = items[i].indexOf("-");
var prodId = items[i].substring(0, position);
var quantity = parseInt(items[i].substring(position + 1));
if (prodId == itemId) {
} else {
if (order != "") {
order += "|";
}
order += prodId + "-" + quantity;
orderedTotQty += quantity;
orderedItems[prodId] = quantity;
}
}
}
if($('#prow-' + itemId).length == 1) {
$('#prow-' + itemId).remove();
}
$.cookie('order', order);
$.cookie('orderedTotQty', orderedTotQty);
showCart(true, 'removerow', itemId);
};
//Emptying the cart
var emptyCart = function() {
var order = $.cookie('order');
order = "";
orderedTotQty = 0;
orderedItems = null;
orderedItems = new Array();
$.cookie('order', order);
$.cookie('orderedTotQty', orderedTotQty);
if($('[id^="prow-"]').length > 0) {
$('[id^="prow-"]').each(function(){
$(this).remove();
});
}
$('.trm_1').hide();
showCart(false, 'empty');
};
//Displaying the cart items & calculations
function showTotalPrice() {
var cartHtml = "";
var total = 0;
var shipping = 0;
var grand_total = 0;
var sub_total = 0;
var shippingType = '';
var order = $.cookie('order');
orderedTotQty = $.cookie('orderedTotQty');
if($('#shippingCountry').val() == '') {
shippingType = '';
} else if($('#shippingCountry').val() == 'US') {
shippingType = 'US';
} else {
shippingType = 'INTERNATIONAL';
}
if (!order) {
orderedTotQty = 0;
} else {
var items = order.split("|");
if(shipRates) {
shipping = shipRates * 1.0;
}
for (var i = 0; i < items.length; i = i + 1) {
var position = items[i].indexOf("-");
var prodId = items[i].substring(0, position);
var quantity = parseInt(items[i].substring(position + 1));
if (prodId != "" && quantity > 0) {
sub_total = round((quantity * products[prodId][1]), 2);
total += (quantity * products[prodId][1]);
}
}
total = round(total, 2);
}
var snh = shipping + handling;
//if(shipping == 0) {
// snh = shipping;
//}
console.log(snh);
grand_total = total + snh;
$('#total-price').html('$ ' + total.toFixed(2));
$('#shipping-price').html('$ ' + snh.toFixed(2));
$('#grand-total').html('$ ' + grand_total.toFixed(2));
};
// Refresh row content with updated quantity / price for a product
function refreshRow(pid) {
pid = parseInt(pid);
quantity = orderedItems[pid];
sub_total = round((quantity * products[pid][1]), 2);
$('#prow-' + pid + ' .tot-price').html('$' + sub_total.toFixed(2) + ' USD');
$('#prow-' + pid + ' .qtybox').val(quantity);
$('#prow-' + pid + ' .dispqty').html(quantity);
}
function replaceAllStr(str, find, rstr) {
//return str.replace(new RegExp(escapeRegExp(find), 'g'), replace);
//return str.replace(/find/g, '\\$&');
return str.replace(new RegExp(find, "g"), rstr);
}
//Displaying the cart items & calculations
function showCart(showFullCart, act, itm) {
var cartHtml = "";
var order = $.cookie('order');
orderedTotQty = $.cookie('orderedTotQty');
if (!order)
{
orderedTotQty = 0;
if($('[id^="prow-"]').length == 0) {
$("#cartBox").html("
You have not selected any product...
  Browse Products"); } showTotalPrice(); return false; } else { var items = order.split("|"); var total = 0; var shipping = 0; var grand_total = 0; orderedTotQty = parseInt(orderedTotQty); //console.log('showFullCart'); //console.log(showFullCart); if (typeof showFullCart === "undefined") { return false; } else if(showFullCart == false) { if ((typeof act !== "undefined") && (typeof itm !== "undefined")) { if((act == 'add' || act == 'set' || act == 'remove') && itm > 0) { refreshRow(itm); } else if(act == 'removerow' && itm > 0) { itm = parseInt(itm); } } showTotalPrice(); return false; } orderedItems = null; orderedItems = new Array(); cartHtml += "" + products[prodId][4] + " "+ quantity +"
" + "" + products[prodId][0] + "
" + quantity + " $" + sub_total.toFixed(2) + "