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
(function(){
var perfEntries = performance.getEntriesByType("navigation");
if (perfEntries[0].type === "back_forward") {
location.reload(true);
}
})();
.breadcrumbs li:not(:last-child):after {
content: "\203A\A0";
display: inline-block;
padding-left: .75ch;
speak: none;
}
.z-custom-launcher {
display: none !important;
}
.product-navigation-container.sticked { position: fixed; top: 0; width: 100%; background-color: #FFFFFF; transition: 450ms all ease; padding-top: 1.5rem; padding-bottom: 1.5rem; z-index: 2; --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.product-navigation-container h1 { font-family: inherit; }
.product-navigation-container .link, .product-navigation-container .link-mobile { color: #A2A2A2; }
.product-navigation-container .link.active, .product-navigation-container .link-mobile.active{ color: #000000; }
.product-navigation-container .link::after { content: ''; display: block; opacity: 0; width: 0%; height: 3px; background-color: transparent; transform: translateY(5px); transition: 450ms width ease; }
.product-navigation-container .link:hover::after, .product-navigation-container .link.active::after { opacity: 1; width: 100%; background-color: #000000; transition: 450ms width ease; }
@media (max-width: 1024px){
.toggle-submenu .btn-icon::after { content: ''; display: block; width: 5px; height: 5px; border-left: 4px solid transparent;border-right: 4px solid transparent;border-bottom: 4px solid #000000; transform: rotate(180deg); position: absolute; right: 10px; top: 15px; }
.toggle-submenu .link-mobile.btn-icon::after {border-bottom: 4px solid #A2A2A2 }
.toggle-submenu .btn-icon.active::after { border-bottom: 4px solid #0a4d83; }
.toggle-submenu .btn-icon.active { color: #0a4d83; }
}
@media (max-width: 375px){
.product-navigation-container h1::after { right: -70px; }
}
Compare with Other Frames
10" HD Smart Wi-Fi Digital Frame
-
{{ dynamicQuantity.value }}
+
ADD TO CART
SOLD OUT
ADD TO CART
SOLD OUT
ADD TO CART
SOLD OUT
Technical Specifications
Screen type: IPS Panel
Aspect ratio: 16:10
Resolution: 1280 x 800 (HD)
Dimensions: 187mm (W) x 268mm (H) x 31mm (D)
Internal Storage: 8GB
Cloud Storage: Unlimited Photos | 5GB Videos
What's in the box?
1 x frame
Power adapter and cable
Set Up Guide
Infra-red remote control
Wall mount screw kit
Wall mount guide
Adjustable, Detachable Stand
What's in the box?
1 x frame
Power adapter and cable
Set Up Guide
Infra-red remote control
Wall mount screw kit
Wall mount guide
Adjustable, Detachable Stand
FAQs
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.
In that sense, I'd suggest that the size of the internal storage is less of an issue than the size of the cloud storage (for Nixplay, included cloud storage is 10GB).
Still need help? Visit our
Help Center or email us at
support@nixplay.com
(function(){
document.addEventListener('DOMContentLoaded', () => {
const headerTopSection = document.querySelector('.top-logo-section');
const headerNavLinksSection = document.querySelector('.nav-links-section');
const mainHeader = document.querySelector('.main-header');
const productStickyBuyButton = document.querySelector('.sticky-buy-buttton');
const referenceButton = document.querySelector('.add-to-cart-btn-container')
const evaluateHeader = () => {
const headerTopBox = headerTopSection.getBoundingClientRect();
const referenceBox = referenceButton.getBoundingClientRect();
if(referenceBox.bottom < (headerTopBox.bottom + 20)) {
productStickyBuyButton.classList.add('active');
mainHeader.classList.remove('shadow-md');
headerNavLinksSection.classList.add('hide_it');
productStickyBuyButton.style.setProperty("--top", `${headerTopBox.bottom}px`);
} else {
mainHeader.classList.add('shadow-md');
headerNavLinksSection.classList.remove('hide_it');
productStickyBuyButton.classList.remove('active')
}
}
evaluateHeader();
window.addEventListener('scroll', evaluateHeader);
})
})()
.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;
}
30-day Money
Back Guarantee
.bg-badge-color {
background-color: rgb(247, 247, 247);
}
@media (min-width: 640px) {
.bg-badge-color {
}
}
Why Choose Nixplay?
How It Works
Upload your photos
to the app
Invite family to join
playlists with
nix-FamilyCircles
Send new photos
and videos straight to
their frames
Upload your photos
to the app
Invite family and
friends to join playlists
with nix-FamilyCircles
Surprise them by
sending new photos
and videos straight
to their frame
.unset-br br {
display: none;
}
.product-steps-block .slider-nav:focus {outline: none;}
.product-steps-block .slider-nav { opacity: 1; outline: 0; filter: none; }
.product-steps-block .slider-nav::after {
width: 4rem!important;
height: 4rem!important;
background-color: #0a819c;
}
.product-steps-block .slider-indicators.steps-indicators > * {
width: 0.8rem;
height: 0.8rem;
opacity: .2;
}
.product-steps-block .slider-indicators.steps-indicators>.active {opacity: .5;}
.product-steps-block .steps-nav button {
padding: 0;
}
.product-steps-block .slider .slider-nav-dark .slider-nav::after {
background-color: #000000;
opacity: 1;
}
Why Choose Nixplay?
AMERICA’S TOP SELLING DIGITAL FRAME:
Trusted by over 2.8 million Nixplay customers. Make it easy for you and even easier for Grandma – with Nixplay you can send photos and video clips directly to your family’s living rooms, privately – wherever they are.
SEND PHOTOS AND VIDEOS VIA:
the Nixplay iOS or Android Mobile App, Desktop Web App, Email, Google Photos, Facebook, and Instagram.
niX-Family Circles
allows you to create family focused playlists that everyone can contribute to. Celebrate and relive weddings, graduations, birthdays, family holidays...
niX-SmartFace Framing
uses proprietary software and Artificial Intelligence to automatically position people nearer the center of the frame for the best viewing experience.
niX-SenseMe
is our smart sensor that 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 frame gets disconnected from your WiFi.
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. We know that if an image is even slightly blurred at wider viewing angles grandma won’t be happy.
NIXPLAY DESIGN:
Wall Mount or Tabletop, Portrait or Landscape our frames can be easily positioned anyway you want, and your content will automatically rotate.
PRIVATE, SECURE & TRUSTED:
Nixplay’s cloud storage is located on secure, encrypted servers in the USA, so you can rest assured your Nixplay photo stream is secure, private and GDPR and CCPA-compliant. Our Customer Service team is here to help should you have questions about your Nixplay Smart Frame; We have millions of happy users, and we can be reached through phone, email, or chat. Just visit the Nixplay website for more information.
RELIVE AND CELEBRATE MEMORIES:
Works with Amazon Alexa – just ask your Nixplay frame for the playlist you want.
How It Works
Upload your photos
to the app
Invite family to join
playlists with
nix-FamilyCircles
Send new photos
and videos straight to
their frames
Upload your photos
to the app
Invite family and
friends to join playlists
with nix-FamilyCircles
Surprise them by
sending new photos
and videos straight
to their frame
.unset-br br {
display: none;
}
.product-steps-block .slider-nav:focus {outline: none;}
.product-steps-block .slider-nav { opacity: 1; outline: 0; filter: none; }
.product-steps-block .slider-nav::after {
width: 4rem!important;
height: 4rem!important;
background-color: #0a819c;
}
.product-steps-block .slider-indicators.steps-indicators > * {
width: 0.8rem;
height: 0.8rem;
opacity: .2;
}
.product-steps-block .slider-indicators.steps-indicators>.active {opacity: .5;}
.product-steps-block .steps-nav button {
padding: 0;
}
.product-steps-block .slider .slider-nav-dark .slider-nav::after {
background-color: #000000;
opacity: 1;
}
@media (min-width: 768px) {
.why-nixplay-accordion {
max-height: 200vh !important;
}
}
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"}}
.product-recommendations .slider-indicators > * {width: 0.8rem;height: 0.8rem;opacity: .2;}
.product-recommendations .slider-indicators>.active {opacity: .5;}
.product-recommendations .slider-nav::after {width: 4rem!important; height: 4rem!important; background-color: #000;}
.product-recommendations .swiffy-slider .slider-nav { opacity: 1; outline: 0; filter: none; }
.product-recommendations .swiffy-slider button.slider-nav { margin-bottom: 0; }
@media (min-width: 1024px) {
.product-hover:hover img {
transform: scale(1.3);
}
.item-block-a a {
padding-left: 12px;
padding-right:12px;
}
}
{{i.title}}
Remove
Select a frame to
compare.
.w-8-inch { width: 5.65rem; }
.w-9-inch { width: 7.15rem; }
.w-10-inch { width: 6.95rem; }
.w-13-inch { width: 6.8rem; }
.w-15-inch { width: 11rem; }
.w-15-6-inch { width: 7.5rem; }
Become a Nixplay Member
Nixplay Plus Membership gets you..
Lifetime warranty on 1 frame
Exclusive frames
2-minute video clips
Full photo, video editing suite
And more...
Nixplay Care Team on call
Private grouped playlists
Up to 10 connected frames
50GB of video cloud storage
body.is-modal-open {
overflow: hidden;
}
.unset-br-plus br {
display: inline;
}
@media (min-width: 640px) {
.unset-br-plus br {
display: none !important;
}
}
@media (max-width: 640px) {
.hidden-sm {
display: none;
}
}
window.productId = 5524247117983;
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 Secret Sale",
cartDiscount_code: '',
fixedDiscount: '',
locale: 'en',
offer: { you_save: "You Save", buy: "BUY", off: "OFF"},
items: [ {
sku : "425",
id: 42671417295007,
price: 15999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
}, {
sku : "408",
id: 35645680124063,
price: 18999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
},{
sku : "411",
id: 37106867404959,
price: 18999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
},{
sku : "418",
id: 39786548756639,
price: 25999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
}, {
sku : "419",
id: 40706323185823,
price: 23999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
},{
sku : "4241",
id: 42194180374687,
price: 23999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
},{
sku : "4201",
id: 42671414444191,
price: 23999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
},{
sku : "423",
id: 42194192892063,
price: 26999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
},{
sku : "422",
id: 42671414476959,
price: 23999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
}, {
sku : "704",
id: 41228632490143,
price: 29999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
}, {
sku : "315",
id: 42671416770719,
price: 14999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
},{
sku : "316",
id: 42671416803487,
price: 14999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
},{
sku : "314",
id: 42679725621407,
price: 14999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
}, {
sku : "409",
id: 40550245302431,
price: 36999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
},{
sku : "421",
id: 42671400091807,
price: 36999,
saleCopy: "",
saleCopyBi: "",
copyColor: "",
blockBg: "",
bannerBlockBgColor: false,
discountType: "fixed",
valueOff: "money-off",
spendAmount: "",
discountValue: "0.25",
disclaimer: "",
hideSticker: false,
sticker: null,
stickerBi: null,
addDiscountCopy: "",
addDiscountCopyBi: ""
},]
};
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);
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;