Your Cart
(
{{ cart.item_count }}
Items)
{{ error.message }}
{{ error.description }}
Your shopping cart is empty. Check out our Shop to see what's available
*Shipping & taxes calculated at checkout
Home
›
8" HD Touch Screen Wi-Fi Digital Frame
.new-star-rating use:nth-child(2) {
transform: translate(20px);
}
.new-star-rating use:nth-child(3) {
transform: translate(40px);
}
.new-star-rating use:nth-child(4) {
transform: translate(60px);
}
.new-star-rating use:nth-child(5) {
transform: translate(80px);
}
.w-30 {
width: 7.3rem;
}
.f-14 {
font-size: 14px;
}
8" HD Touch Screen Wi-Fi Digital Frame
.new-star-rating use:nth-child(2) {
transform: translate(20px);
}
.new-star-rating use:nth-child(3) {
transform: translate(40px);
}
.new-star-rating use:nth-child(4) {
transform: translate(60px);
}
.new-star-rating use:nth-child(5) {
transform: translate(80px);
}
.w-30 {
width: 7.3rem;
}
.f-14 {
font-size: 14px;
}
8" HD Touch Screen Wi-Fi Digital Frame
Our Touch 8 is our newest touch screen frame in a tidy 8-inch, bedside-table size. Double tap the screen to let your family know which photos you love!
Touch 8 is available in sleek black with either a gold or silver trim.
Features:
8” 1280 x 800 HD display with auto-rotation landscape and portrait orientation
Gift-Ready : Pre-load your Nixplay frame with photos, videos, and a gift message in the app before it’s opened.
AI Driven smart-centering to center images and fill the frame.
Nixplay app: Add photos and share playlists directly from your smartphone using the Nixplay app, available for iOS and Android.
Works with leading photo websites and apps Instantly synchronize photos from Google Photos, Instagram, Dropbox, Facebook, and Alexa onto your photo frame.
-
{{ dynamicQuantity.value }}
+
Quantity
Product Overview
Our newest and best frame yet with a touch screen panel with easy touch controls. Portrait or Landscape our frames can be easily positioned anyway you want, and your content will automatically rotate. AI and proprietary software automatically position people near the center of the frame for the best viewing experience.
Free Unlimited Cloud Photo Storage: Create and share playlists the whole family can contribute to using the Nixplay App, even if they don’t own a frame. Send photos and videos directly to any frame you own, or that’s shared with you via the Nixplay iOS or Android Mobile App, Desktop Web App and Email. Import your photos from Google Photos, Facebook, and Instagram.
Wi-Fi connectivity: Transfer photos and videos to your Nixplay smart photo frame by using the app, email, or a web browser. No need for memory cards or USB sticks.
Energy Efficient Design: Our smart sensor wakes the frame when you're in the room and sleeps the frame when you’re not. Upon waking, your frame will display the most recently received photos/videos and will continue to do so even if the frame gets disconnected from your WiFi.
Blur Reduction: We know that if an image is even slightly blurred at wider viewing angles you won’t be happy. Nixplay’s niX-Spectre HD IPS Display is engineered to deliver the widest possible viewing angle, while still maintaining crisp and vibrant color reproduction of your photos and videos.
Privacy & Security: Nixplay's cloud storage is located in the USA on secure, CCPA & GDPR compliant, encrypted servers so you can be rest assured that your photos are kept safe and secure.
Customer Service: We’re here to help should you have questions about your Nixplay Frame; with over 2.8 million happy customers can be reached through phone, email, or chat.
Multi-lingual Support: Nixplay's frame and App interface are available in English, German, French, and Japanese.
Specifications
Model: W08K (view Technical Specifications )
8" LCD IPS Touch Screen display with 16:10 aspect ratio
WXGA 1280 x 800 display resolution
Internal Storage: 8GB
Cloud Storage: Unlimited Photos | 5GB Videos
Connectivity: Wi-Fi Built-in, Android App, Apple iOS App, Nixplay.com
Sensors:
Auto rotate (Portrait and Landscape)
Microphone Activity Sensor (non-recording)
Auto on/off
Dimensions:
Height: 5.8 inches
Width: 8.4 inches
Depth: 1.2 inches
What’s in the box:
Digital Photo Frame with Touch Screen
Wall Adaptor with US plug
Wall Mounting Screws
Wall Mount Guide
Quick Start Guide
Model: W08K (view Technical Specifications )
8" LCD IPS Touch Screen display with 16:10 aspect ratio
WXGA 1280 x 800 display resolution
Internal Storage: 8GB
Cloud Storage: Unlimited Photos | 5GB Videos
Connectivity: Wi-Fi Built-in, Android App, Apple iOS App, Nixplay.com
Sensors:
Auto rotate (Portrait and Landscape)
Microphone Activity Sensor (non-recording)
Auto on/off
Dimensions:
Height: 5.8 inches
Width: 8.4 inches
Depth: 1.2 inches
What’s in the box:
Digital Photo Frame with Touch Screen
Wall Adaptor with US plug
Wall Mounting Screws
Wall Mount Guide
Quick Start Guide
Frequently Asked Questions
Multiple users on different phones around the country - can they all add pictures and short videos to a single device?
Yes. There are 2 ways to get photos/videos on your frame: (1) Any person can email photos to your frame, with no account necessary. (2) Share photos or video clips directly from your phone to the frame. For this, you will need to use the Nixplay mobile app, which requires account creation on the sender's part.
Does it rotate the picture automatically to fit the frame?
Ultimately, yes. But there are some factors to consider (1) The orientation of the photo or picture/video you took (2) How you physically orient the frame. If you position your frame in portrait or in landscape, the content will adjust to suit your placement. (3) There are several transition settings that you can adjust using your remote or mobile app, to give you the best viewing options, taking (1) and (2) into account. Make sense?
Can you load pictures onto this picture frame using an USB or SD card?
No. Nixplay frames display content via the cloud over wi-fi. We do make NIX photo frames, which take USB and SD cards. See
amazon.com/nix .
Work without electricity or need to be connected?
The frame needs to be connected to power to operate. It does not use batteries.
Does the frame have its own internal memory for storing pictures or must you store images on the cloud?
Nixplay Frames are smart frames, so your content must be stored in the cloud for your frame to display content (i.e. there is no USB or SD-card slot from which you can load content onto your frame. The only way is via the cloud).
The frames do have internal storage that (1) hold the on-frame software and (2) store recent photos/video clips that in the instance when a wi-fi connection is temporarily lost, the frame will still display recent images.
What is the difference between Touch 8 & Touch 10 frames?
The Touch 8 frame:
Is smaller in size built at 8-inch while the Touch 10 frame comes in at 10-inch.
Comes with a fixed stand while the Touch 10 frame is adjustable.
Has no built-in wall mounting feature while the Touch 10 frame can be readily wall mounted.
Still need help? Visit our
Help Center or email us at
support@nixplay.com
.affirm-modal-trigger {
color: rgba(9,129,156,1);
text-decoration: underline;
}
.affirm-modal-trigger:hover {
color: black;
}
.nav-links-section{
transition: all 0.5s;
opacity: 1; max-height: 100vh;
}
.nav-links-section.hide_it{
opacity:0; max-height: 0vh; overflow: hidden;
}
.image-bg-container{
background: #f8f8f8;
}
.sticky-buy-buttton {
--top: 50.52px;
z-index: 49;
}
.sticky-buy-buttton.active {
top: var(--top);
}
.sticky-buy-buttton:not(.active) {
animation-name: wait-to-leave;
animation-duration: 0.2s;
animation-fill-mode: forwards;
animation-iteration-count: 1;
animation-timing-function: ease-in-out;
}
@keyframes wait-to-leave {
from {
top: var(--top);
opacity: 1;
}
99% {
top: var(--top);
}
to {
top: -900px;
opacity: 0;
}
}
.sticky-buy-buttton .color-ball.has-label:hover::after{
display: none;
}
.sticky-buy-buttton>div {
transform: translateY(-150px);
}
.sticky-buy-buttton.active>div {
transform: translateY(0px);
}
.gallery-left-btn:hover svg {
animation-name: slide-left;
animation-duration: 0.4s;
animation-iteration-count: 1;
animation-timing-function: ease-in-out;
}
.gallery-right-btn:hover svg {
animation-name: slide-right;
animation-duration: 0.4s;
animation-iteration-count: 1;
animation-timing-function: ease-in-out;
}
@keyframes slide-right {
from {
transform: translate3d(0%, 0px, 0);
opacity: 1;
}
25% {
transform: translate3d(-50%, 0px, 0);
}
to {
transform: translate3d(100%, 0px, 0);
opacity: 0;
}
}
@keyframes slide-left {
from {
transform: translate3d(0%, 0px, 0);
opacity: 1;
}
25% {
transform: translate3d(50%, 0px, 0);
}
to {
transform: translate3d(-100%, 0px, 0);
opacity: 0;
}
}
.slider-item-ratio .slider-container>*>* {
object-fit: contain !important;
}
.gallery-main-container:before{
content:'';
display: block;
width:100%;
padding-top: 80%;
}
.thumbs-container {
max-width:91%;
}
@media (max-width: 768px) {
.thumbs-container {
max-width:100%;
}
.gallery-image-container {
min-width: 100%;
width: 95vw;
}
.z-custom-launcher {
display: none;
}
}
@media (min-width: 640px) {
.shadow-top {
border-top: none !important;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
}
}
.shadow-top {
border-top: 1px solid #eae6e6;
-webkit-box-shadow: 0px -1px 4px rgb(246 243 243 / 70%);
-moz-box-shadow: 0px -1px 4px rgb(246 243 243 / 70%);
box-shadow: 0px -1px 4px rgb(246 243 243 / 70%);
}
.show-more-container:before {
content:'';
position: absolute;
width: 100%;
height: 100%;
background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}
.icon-check img {
display: none;
}
.checked-icon .icon-check img {
display: block;
}
.thumbnails > div { width: 20%; }
.thumbnails .image-bg-container {
background: transparent;
}
.product-description ul {
list-style-type: disc;
padding-left: 20px;
}
.product-description > p, .product-description p {
padding-bottom: 1.4rem;
padding-top: 1rem;
font-size: 1.5rem;
}
.default-locale, .bi-locale {
display: none;
}
.default-language .default-locale, .biligual-language .bi-locale {
display: block;
}
.prod-desc ul li {
padding-bottom: 1rem;
}
.alexa-google-icons {
background-image: url(//www.nixplay.co.uk/cdn/shop/t/359/assets/alexa-google-icon.static.png?v=68587747246647950621701134761);
background-size: contain;
background-repeat: no-repeat;
height: 40px;
margin-top: 20px;
}
.plus-sticker {
font-family: "zen-new", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
font-weight: 500;
}
@media (min-width: 640px) {
.plus-table br {
display: none;
}
.plus-table th {
text-align: right;
}
.plus-table tr:not(:first-child) td:not(:last-child) {
background-color: #f6ede2;
}
.plus-sticker br {
display: none;
}
}
(function(){
document.addEventListener('DOMContentLoaded', () => {
const productOverviewButton = document.getElementsByClassName('product-overview-button')[0];
if(productOverviewButton && productOverviewButton[0]) {
productOverviewButton[0].click();
}
})
})()
div.stamped-container[data-widget-style], div[data-widget-style] div.stamped-container {
margin: 0px auto!important;
}
@media only screen and (max-width: 480px) {
#stamped-filter-select, #stamped-sort-select, #stamped-sort-select2, .stamped-filter-select {
min-width: 200px !important;
max-width: 99.8% !important;
}
}
.stamped-reviews .stamped-review-options ul li {
min-width: 100%;
}
div.stamped-container[data-widget-style], div[data-widget-style] div.stamped-container {
padding-bottom: 8px!important;
}
.stamped-review-avatar{
position: relative;
top: -12px;
}
.stamped-summary-text-1{
font-size: 28px!important;
}
.stamped-header-title{
display: none;
}
.stamped-summary-caption{
display: block !important;
}
.summary-overview {
text-align: center;
width: 100% !important;
float: none !important;
}
#stamped-main-widget{
margin: 0px!important;
}
.stamped-review-body{
padding-left:67px;
}
.stamped-review-header-title, .stamped-review .author{
font-size: 14px!important;
}
.stamped-review-content-body, .stamped-review-reply {
font-size: 13px!important;
}
#stamped-button-submit, input.stamped-button.stamped-button-primary.button.button-primary.btn.btn-primary,
div[data-load-type=continue] ul.stamped-pagination li.next a, div[data-widget-load-type=continue] ul.stamped-pagination li.next a {
border: none!important;;
background: #20819c!important;
border-radius: 37px!important;
}
.fa-star, .fa-star-checked, .fa-star-half-o, .fa-star-o, .stamped-fa-star, .stamped-fa-star-checked, .stamped-fa-star-half-o, .stamped-fa-star-o {
color: #facc11!important;
}
.stamped-review-header .stamped-verified-badge, .stamped-review-header .verified, .stamped-review-header .verified .fa-check-circle-o, .stamped-review-header .verified .stamped-fa-check-circle-o, .stamped-review-header .verified-badge, .stamped-review-header .verified-badge .fa-check-circle-o, .stamped-review-header .verified-badge .stamped-fa-check-circle-o, .stamped-verified-badge {
color: #000000!important;
font-size: 13px!important;
}
.stamped-photos-carousel{
display: none!important;
}
.stamped-container * {
font-family: var(--font-body) !important;
}
#stamped-questions-filter .stamped-sort-select-wrapper {
padding-top: 16px;
display: block;
}
#stamped-questions-filter .stamped-sort-select-wrapper select {
float: left!important;
}
@media (max-width: 480px) {
.stamped-review-avatar{
top: -8px;
}
.stamped-review-body{
padding-left: 0px;
}
}
(function(){
let keepChecking = true;
let container = null;
const updateSettings = () => {
container = document.querySelector('.stamped-container');
const secondMessage = document.querySelector('.stamped-summary-caption.stamped-summary-caption-2');
const tabReviews = document.getElementById('tab-reviews');
const tabQuestion = document.getElementById('tab-questions');
const reviewTabsAnchors = document.querySelectorAll('.review-tab-anchor');
const parent = document.getElementById('stamped-questions-filter')
if(parent) {
const filter = parent.querySelector('.stamped-sort-select-wrapper')
parent.appendChild(filter)
}
if(container) {
container.dataset.widgetStyle = "minimalist";
container.dataset.widgetShowGraph="false"
container.dataset.widgetShowSort="true"
container.dataset.widgetShowTabReviews="true"
container.dataset.widgetShowLocation="false"
container.dataset.widgetShowDate="true"
container.dataset.widgetShowVotes="true"
container.dataset.widgetShowProductVariant="false"
container.dataset.widgetShowQna="true"
container.dataset.widgetShowShare="true"
container.dataset.widgetShowVerified="true"
container.dataset.widgetShowSummaryRecommend="true"
container.dataset.widgetShowSummaryPhoto="true"
container.dataset.widgetType="minimalist"
container.dataset.widgetShowFilterCustomForms="true"
container.dataset.widgetShowFilterSearch="true"
container.dataset.widgetLoadType="pagination"
}
if(reviewTabsAnchors) {
const questionCount = document.querySelector('.question_count');
if(questionCount) {
questionCount.innerText = tabQuestion.dataset.count
}
reviewTabsAnchors.forEach((item) => {
const tab = item.dataset.tab
item.addEventListener('click',() => {
if(tab === 'reviews' && tabReviews) {
tabReviews.click()
}
if(tab === 'questions' && tabQuestion) {
tabQuestion.click()
}
})
});
}
if(secondMessage) {
secondMessage.setAttribute('style','display: block!important');
}
}
const checkComponent = () => {
if(keepChecking === true) {
window.requestAnimationFrame(checkComponent);
}
container = document.querySelector('.stamped-container');
if(container) {
keepChecking = false;
updateSettings();
}
}
document.addEventListener("DOMContentLoaded", checkComponent);
})();
{{ review.author.split(' ')[0].slice(0,1) }}{{ review.author.split(' ')[1].slice(0,1) }}
{{ review.author.slice(0,2) }}
{{ review.reviewTitle }}
Show Less Show More
{{ (showALlReviews === false) ? "See All Reviews" : "Hide Reviews"}}
Multi-shipping FAQ
When and where will I see the multi-shipping option during my order journey?
When more than one (1) digital photo frame is added to cart, a checkbox will appear on the cart slider/cart page.
This option will allow you to order 2 or more frames and send them to different locations at the same time through the same checkout experience without having to enter different shipping addresses one by one.
The multi-shipping option is not showing up / greyed out. Why is that?
This can happen due to 3 reasons:
When only one (1) digital photo frame is added to cart.
When a print store product is added to cart. Please note print products are not supported for delivery through multi-shipping and need to be ordered separately.
When Nixplay Plus subscription is added to cart together with more than one (1) digital photo frame.
At this step, the multi-shipping option will show as “Not applicable - Learn More”. To avoid this:
Simply purchase the Nixplay Plus subscription separately first and activate your account.
Next login to your account directly at Nixplay store and enjoy 25% off the digital photo frames and you will notice the multi-shipping option is now available.
Why can’t I order both the Nixplay Plus subscription and use multi-shipping option at the same time?
This is because the multi-shipping option cannot recognize subscription-based products and therefore the Nixplay Plus subscription needs to be ordered separately.
We apologize for any inconvenience this may cause you. Rest assure, our engineers are working hard to find a solution and make this a 1 step journey. In the meantime, please follow the steps shared above to place your order while using the multi-shipping option.
var saleDetails = {
saleEnd: '',
cartSummary: {
item_count: 0,
items_subtotal_price: 0,
original_total_price: 0,
requires_shipping: false,
total_discount: 0,
total_price: 0,
},
cartMessage:"[#%] discount applied for our Fall Sale",
cartDiscount_code: '',
fixedDiscount: '',
locale: 'en',
offer: { you_save: "You Save", buy: "BUY", off: "OFF"},
items: [ {
sku : "316",
id: 42433113555121,
price: 13999,
saleCopy: "25% OFF use code CM2023",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "percent-off",
spendAmount: "",
discountValue: "0",
disclaimer: "",
hideSticker: false,
sticker: "\/\/www.nixplay.co.uk\/cdn\/shop\/files\/25_off_4x_663e2c43-2a72-4e8c-b8cc-dcbf06b389aa.png?v=1700810770",
stickerBi: null,
addDiscountCopy: "\u003ch2 class=\"font-bold max-w-max pb-4 pt-6 text-5xl z\" style=\"\n color: #000000;\n background-image: -webkit-linear-gradient(0deg, #393455 0%, #a84e81 100%);\n background-clip: text;\n -webkit-background-clip: text;\n text-fill-color: transparent;\n -webkit-text-fill-color: transparent;\n \"\u003eCyber Monday Sale\u003c\/h2\u003e\n\u003cdiv class=\"font-bold pb-4\" style=\"display: flex; border-bottom: 1px solid black;\"\u003e\n \u003cdiv style=\"padding-right: 20px; \"\u003e\n \u003cp style=\"font-size: 2rem; margin: 0;\"\u003e\n \u003csmall\u003eAll frames \u003c\/small\u003e\n 25% OFF use code CM2023\n \u003c\/p\u003e\n \u003c\/div\u003e\n\u003c\/div\u003e",
addDiscountCopyBi: ""
}, {
sku : "425",
id: 42433188495537,
price: 17999,
saleCopy: "25% OFF use code CM2023",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "percent-off",
spendAmount: "",
discountValue: "0",
disclaimer: "",
hideSticker: false,
sticker: "\/\/www.nixplay.co.uk\/cdn\/shop\/files\/25_off_4x_663e2c43-2a72-4e8c-b8cc-dcbf06b389aa.png?v=1700810770",
stickerBi: null,
addDiscountCopy: "\u003ch2 class=\"font-bold max-w-max pb-4 pt-6 text-5xl z\" style=\"\n color: #000000;\n background-image: -webkit-linear-gradient(0deg, #393455 0%, #a84e81 100%);\n background-clip: text;\n -webkit-background-clip: text;\n text-fill-color: transparent;\n -webkit-text-fill-color: transparent;\n \"\u003eCyber Monday Sale\u003c\/h2\u003e\n\u003cdiv class=\"font-bold pb-4\" style=\"display: flex; border-bottom: 1px solid black;\"\u003e\n \u003cdiv style=\"padding-right: 20px; \"\u003e\n \u003cp style=\"font-size: 2rem; margin: 0;\"\u003e\n \u003csmall\u003eAll frames \u003c\/small\u003e\n 25% OFF use code CM2023\n \u003c\/p\u003e\n \u003c\/div\u003e\n\u003c\/div\u003e",
addDiscountCopyBi: ""
}, {
sku : "420",
id: 43068204318897,
price: 18999,
saleCopy: "25% OFF use code CM2023",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "percent-off",
spendAmount: "",
discountValue: "0",
disclaimer: "",
hideSticker: true,
sticker: "\/\/www.nixplay.co.uk\/cdn\/shop\/files\/25_off_4x_663e2c43-2a72-4e8c-b8cc-dcbf06b389aa.png?v=1700810770",
stickerBi: null,
addDiscountCopy: "\u003ch2 class=\"font-bold max-w-max pb-4 pt-6 text-5xl z\" style=\"\n color: #000000;\n background-image: -webkit-linear-gradient(0deg, #393455 0%, #a84e81 100%);\n background-clip: text;\n -webkit-background-clip: text;\n text-fill-color: transparent;\n -webkit-text-fill-color: transparent;\n \"\u003eCyber Monday Sale\u003c\/h2\u003e\n\u003cdiv class=\"font-bold pb-4\" style=\"display: flex; border-bottom: 1px solid black;\"\u003e\n \u003cdiv style=\"padding-right: 20px; \"\u003e\n \u003cp style=\"font-size: 2rem; margin: 0;\"\u003e\n \u003csmall\u003eAll frames \u003c\/small\u003e\n 25% OFF use code CM2023\n \u003c\/p\u003e\n \u003c\/div\u003e\n\u003c\/div\u003e",
addDiscountCopyBi: ""
},{
sku : "419",
id: 40467375030449,
price: 18999,
saleCopy: "25% OFF use code CM2023",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "percent-off",
spendAmount: "",
discountValue: "0",
disclaimer: "",
hideSticker: true,
sticker: "\/\/www.nixplay.co.uk\/cdn\/shop\/files\/25_off_4x_663e2c43-2a72-4e8c-b8cc-dcbf06b389aa.png?v=1700810770",
stickerBi: null,
addDiscountCopy: "\u003ch2 class=\"font-bold max-w-max pb-4 pt-6 text-5xl z\" style=\"\n color: #000000;\n background-image: -webkit-linear-gradient(0deg, #393455 0%, #a84e81 100%);\n background-clip: text;\n -webkit-background-clip: text;\n text-fill-color: transparent;\n -webkit-text-fill-color: transparent;\n \"\u003eCyber Monday Sale\u003c\/h2\u003e\n\u003cdiv class=\"font-bold pb-4\" style=\"display: flex; border-bottom: 1px solid black;\"\u003e\n \u003cdiv style=\"padding-right: 20px; \"\u003e\n \u003cp style=\"font-size: 2rem; margin: 0;\"\u003e\n \u003csmall\u003eAll frames \u003c\/small\u003e\n 25% OFF use code CM2023\n \u003c\/p\u003e\n \u003c\/div\u003e\n\u003c\/div\u003e",
addDiscountCopyBi: ""
},{
sku : "424",
id: 42433179943089,
price: 18999,
saleCopy: "25% OFF use code CM2023",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "percent-off",
spendAmount: "",
discountValue: "0",
disclaimer: "",
hideSticker: true,
sticker: "\/\/www.nixplay.co.uk\/cdn\/shop\/files\/25_off_4x_663e2c43-2a72-4e8c-b8cc-dcbf06b389aa.png?v=1700810770",
stickerBi: null,
addDiscountCopy: "\u003ch2 class=\"font-bold max-w-max pb-4 pt-6 text-5xl z\" style=\"\n color: #000000;\n background-image: -webkit-linear-gradient(0deg, #393455 0%, #a84e81 100%);\n background-clip: text;\n -webkit-background-clip: text;\n text-fill-color: transparent;\n -webkit-text-fill-color: transparent;\n \"\u003eCyber Monday Sale\u003c\/h2\u003e\n\u003cdiv class=\"font-bold pb-4\" style=\"display: flex; border-bottom: 1px solid black;\"\u003e\n \u003cdiv style=\"padding-right: 20px; \"\u003e\n \u003cp style=\"font-size: 2rem; margin: 0;\"\u003e\n \u003csmall\u003eAll frames \u003c\/small\u003e\n 25% OFF use code CM2023\n \u003c\/p\u003e\n \u003c\/div\u003e\n\u003c\/div\u003e",
addDiscountCopyBi: ""
},{
sku : "422",
id: 43068222406833,
price: 18999,
saleCopy: "25% OFF use code CM2023",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "percent-off",
spendAmount: "",
discountValue: "0",
disclaimer: "",
hideSticker: true,
sticker: "\/\/www.nixplay.co.uk\/cdn\/shop\/files\/25_off_4x_663e2c43-2a72-4e8c-b8cc-dcbf06b389aa.png?v=1700810770",
stickerBi: null,
addDiscountCopy: "\u003ch2 class=\"font-bold max-w-max pb-4 pt-6 text-5xl z\" style=\"\n color: #000000;\n background-image: -webkit-linear-gradient(0deg, #393455 0%, #a84e81 100%);\n background-clip: text;\n -webkit-background-clip: text;\n text-fill-color: transparent;\n -webkit-text-fill-color: transparent;\n \"\u003eCyber Monday Sale\u003c\/h2\u003e\n\u003cdiv class=\"font-bold pb-4\" style=\"display: flex; border-bottom: 1px solid black;\"\u003e\n \u003cdiv style=\"padding-right: 20px; \"\u003e\n \u003cp style=\"font-size: 2rem; margin: 0;\"\u003e\n \u003csmall\u003eAll frames \u003c\/small\u003e\n 25% OFF use code CM2023\n \u003c\/p\u003e\n \u003c\/div\u003e\n\u003c\/div\u003e",
addDiscountCopyBi: ""
}, {
sku : "705",
id: 43102787666097,
price: 34999,
saleCopy: "25% OFF use code CM2023",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "percent-off",
spendAmount: "",
discountValue: "0",
disclaimer: "",
hideSticker: false,
sticker: "\/\/www.nixplay.co.uk\/cdn\/shop\/files\/25_off_4x_663e2c43-2a72-4e8c-b8cc-dcbf06b389aa.png?v=1700810770",
stickerBi: null,
addDiscountCopy: "\u003ch2 class=\"font-bold max-w-max pb-4 pt-6 text-5xl z\" style=\"\n color: #000000;\n background-image: -webkit-linear-gradient(0deg, #393455 0%, #a84e81 100%);\n background-clip: text;\n -webkit-background-clip: text;\n text-fill-color: transparent;\n -webkit-text-fill-color: transparent;\n \"\u003eCyber Monday Sale\u003c\/h2\u003e\n\u003cdiv class=\"font-bold pb-4\" style=\"display: flex; border-bottom: 1px solid black;\"\u003e\n \u003cdiv style=\"padding-right: 20px; \"\u003e\n \u003cp style=\"font-size: 2rem; margin: 0;\"\u003e\n \u003csmall\u003eAll frames \u003c\/small\u003e\n 25% OFF use code CM2023\n \u003c\/p\u003e\n \u003c\/div\u003e\n\u003c\/div\u003e",
addDiscountCopyBi: ""
},]
};
console.log(saleDetails)
window.saleDetails = saleDetails;
var saleFunctions = {
getPrice: function (line, qtt) {
var price = line.price;
var quantity = qtt || 1
var valueOff = line.valueOff
var values = String(line.discountValue).split(',');
var totalPrice = 0
var unitPrice = 0
var difference = 0
switch (line.discountType) {
case 'fixed':
var discount_value = Number(values[0]);
unitPrice = (valueOff === 'percent-off') ? price * (1 - discount_value) : price - (discount_value * 100);
finalPrice = unitPrice * quantity;
difference = price - unitPrice
break;
case '3plus':
break;
case '123plus':
var discount_value;
if(quantity == 1) {
discount_value = Number(values[0]);
} else if (quantity == 2) {
discount_value = Number(values[1]);
} else {
discount_value = Number(values[2]);
}
unitPrice = (valueOff === 'percent-off') ? price * (1 - discount_value) : price - ((discount_value*100) / quantity);
finalPrice = unitPrice * quantity;
difference = price - unitPrice
break;
case '1235plus':
break;
case '12plus':
var discount_value;
if(quantity == 1) {
discount_value = Number(values[0]);
} else {
discount_value = Number(values[1]);
}
unitPrice = (valueOff === 'percent-off') ? price * (1 - discount_value) : price - (discount_value * 100);
finalPrice = unitPrice * quantity;
difference = price - unitPrice
break;
case 'spend':
var cartTriggers = String(line.spendAmount).split(',');
var lastPositiveIndex = -1;
cartTriggers.forEach((trigger, index) => {
var triggerValue = Number(trigger)
var cartValue = (Number(window.saleDetails.cartSummary.original_total_price || 0) + Number(price))/ 100
if(cartValue > triggerValue) {
lastPositiveIndex = index
}
});
discount_value = lastPositiveIndex > -1 ? Number(values[lastPositiveIndex] || 0) : 0;
unitPrice = (valueOff === 'percent-off') ? price * (1 - discount_value) : price - (discount_value * 100);
finalPrice = unitPrice * quantity;
difference = price - unitPrice
break;
case 'bogox':
break;
case 'bogo':
break;
default:
console.log(`Sorry, we are out of`);
}
return { finalPrice: finalPrice, unitPrice: unitPrice, difference: difference }
},
updateCartSummary: function(cart) {
window.saleDetails.cartSummary = {
item_count: cart.item_count,
items_subtotal_price: cart.items_subtotal_price,
original_total_price: cart.original_total_price,
requires_shipping: cart.requires_shipping,
total_discount: cart.total_discount,
total_price: cart.total_price,
}
}
}
window.saleFunctions = saleFunctions;