(function(){"use strict";var C=document,D=window,st=C.documentElement,L=C.createElement.bind(C),ft=L("div"),q=L("table"),Mt=L("tbody"),ot=L("tr"),H=Array.isArray,S=Array.prototype,Dt=S.concat,U=S.filter,at=S.indexOf,ct=S.map,Bt=S.push,ht=S.slice,z=S.some,_t=S.splice,Pt=/^#(?:[\w-]|\\.|[^\x00-\xa0])*$/,Ht=/^\.(?:[\w-]|\\.|[^\x00-\xa0])*$/,$t=/<.+>/,jt=/^\w+$/;function J(t,n){var r=It(n);return!t||!r&&!A(n)&&!c(n)?[]:!r&&Ht.test(t)?n.getElementsByClassName(t.slice(1).replace(/\\/g,"")):!r&&jt.test(t)?n.getElementsByTagName(t):n.querySelectorAll(t)}var dt=function(){function t(n,r){if(n){if(Y(n))return n;var i=n;if(g(n)){var e=r||C;if(i=Pt.test(n)&&A(e)?e.getElementById(n.slice(1).replace(/\\/g,"")):$t.test(n)?yt(n):Y(e)?e.find(n):g(e)?o(e).find(n):J(n,e),!i)return}else if(O(n))return this.ready(n);(i.nodeType||i===D)&&(i=[i]),this.length=i.length;for(var s=0,f=this.length;s]*>/,Gt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,mt={"*":ft,tr:Mt,td:ot,th:ot,thead:q,tbody:q,tfoot:q};function yt(t){if(!g(t))return[];if(Gt.test(t))return[L(RegExp.$1)];var n=Yt.test(t)&&RegExp.$1,r=mt[n]||mt["*"];return r.innerHTML=t,o(r.childNodes).detach().get()}o.parseHTML=yt,u.has=function(t){var n=g(t)?function(r,i){return J(t,i).length}:function(r,i){return i.contains(t)};return this.filter(n)},u.not=function(t){var n=I(t);return this.filter(function(r,i){return(!g(t)||c(i))&&!n.call(i,r,i)})};function R(t,n,r,i){for(var e=[],s=O(n),f=i&&I(i),a=0,y=t.length;a=0},!0):r.checked=e.indexOf(r.value)>=0}else r.value=v(t)||P(t)?"":t}):this[0]&&bt(this[0])}u.val=Xt,u.is=function(t){var n=I(t);return z.call(this,function(r,i){return n.call(r,i,r)})},o.guid=1;function w(t){return t.length>1?U.call(t,function(n,r,i){return at.call(i,n)===r}):t}o.unique=w,u.add=function(t,n){return o(w(this.get().concat(o(t,n).get())))},u.children=function(t){return x(o(w(R(this,function(n){return n.children}))),t)},u.parent=function(t){return x(o(w(R(this,"parentNode"))),t)},u.index=function(t){var n=t?o(t)[0]:this[0],r=t?this:o(n).parent().children();return at.call(r,n)},u.closest=function(t){var n=this.filter(t);if(n.length)return n;var r=this.parent();return r.length?r.closest(t):n},u.siblings=function(t){return x(o(w(R(this,function(n){return o(n).parent().children().not(n)}))),t)},u.find=function(t){return o(w(R(this,function(n){return J(t,n)})))};var Kt=/^\s*\s*$/g,Qt=/^$|^module$|\/(java|ecma)script/i,Vt=["type","src","nonce","noModule"];function Zt(t,n){var r=o(t);r.filter("script").add(r.find("script")).each(function(i,e){if(Qt.test(e.type)&&st.contains(e)){var s=L("script");s.text=e.textContent.replace(Kt,""),d(Vt,function(f,a){e[a]&&(s[a]=e[a])}),n.head.insertBefore(s,null),n.head.removeChild(s)}})}function kt(t,n,r,i,e){i?t.insertBefore(n,r?t.firstChild:null):t.nodeName==="HTML"?t.parentNode.replaceChild(n,t):t.parentNode.insertBefore(n,r?t:t.nextSibling),e&&Zt(n,t.ownerDocument)}function N(t,n,r,i,e,s,f,a){return d(t,function(y,h){d(o(h),function(p,M){d(o(n),function(b,W){var rt=r?M:W,it=r?W:M,m=r?p:b;kt(rt,m?it.cloneNode(!0):it,i,e,!m)},a)},f)},s),n}u.after=function(){return N(arguments,this,!1,!1,!1,!0,!0)},u.append=function(){return N(arguments,this,!1,!1,!0)};function tn(t){if(!arguments.length)return this[0]&&this[0].innerHTML;if(v(t))return this;var n=/]/.test(t);return this.each(function(r,i){c(i)&&(n?o(i).empty().append(t):i.innerHTML=t)})}u.html=tn,u.appendTo=function(t){return N(arguments,this,!0,!1,!0)},u.wrapInner=function(t){return this.each(function(n,r){var i=o(r),e=i.contents();e.length?e.wrapAll(t):i.append(t)})},u.before=function(){return N(arguments,this,!1,!0)},u.wrapAll=function(t){for(var n=o(t),r=n[0];r.children.length;)r=r.firstElementChild;return this.first().before(n),this.appendTo(r)},u.wrap=function(t){return this.each(function(n,r){var i=o(t)[0];o(r).wrapAll(n?i.cloneNode(!0):i)})},u.insertAfter=function(t){return N(arguments,this,!0,!1,!1,!1,!1,!0)},u.insertBefore=function(t){return N(arguments,this,!0,!0)},u.prepend=function(){return N(arguments,this,!1,!0,!0,!0,!0)},u.prependTo=function(t){return N(arguments,this,!0,!0,!0,!1,!1,!0)},u.contents=function(){return o(w(R(this,function(t){return t.tagName==="IFRAME"?[t.contentDocument]:t.tagName==="TEMPLATE"?t.content.childNodes:t.childNodes})))},u.next=function(t,n,r){return x(o(w(R(this,"nextElementSibling",n,r))),t)},u.nextAll=function(t){return this.next(t,!0)},u.nextUntil=function(t,n){return this.next(n,!0,t)},u.parents=function(t,n){return x(o(w(R(this,"parentElement",!0,n))),t)},u.parentsUntil=function(t,n){return this.parents(n,t)},u.prev=function(t,n,r){return x(o(w(R(this,"previousElementSibling",n,r))),t)},u.prevAll=function(t){return this.prev(t,!0)},u.prevUntil=function(t,n){return this.prev(n,!0,t)},u.map=function(t){return o(Dt.apply([],ct.call(this,function(n,r){return t.call(n,r,n)})))},u.clone=function(){return this.map(function(t,n){return n.cloneNode(!0)})},u.offsetParent=function(){return this.map(function(t,n){for(var r=n.offsetParent;r&&T(r,"position")==="static";)r=r.offsetParent;return r||st})},u.slice=function(t,n){return o(ht.call(this,t,n))};var nn=/-([a-z])/g;function K(t){return t.replace(nn,function(n,r){return r.toUpperCase()})}u.ready=function(t){var n=function(){return setTimeout(t,0,o)};return C.readyState!=="loading"?n():C.addEventListener("DOMContentLoaded",n),this},u.unwrap=function(){return this.parent().each(function(t,n){if(n.tagName!=="BODY"){var r=o(n);r.replaceWith(r.children())}}),this},u.offset=function(){var t=this[0];if(t){var n=t.getBoundingClientRect();return{top:n.top+D.pageYOffset,left:n.left+D.pageXOffset}}},u.position=function(){var t=this[0];if(t){var n=T(t,"position")==="fixed",r=n?t.getBoundingClientRect():this.offset();if(!n){for(var i=t.ownerDocument,e=t.offsetParent||i.documentElement;(e===i.body||e===i.documentElement)&&T(e,"position")==="static";)e=e.parentNode;if(e!==t&&c(e)){var s=o(e).offset();r.top-=s.top+E(e,"borderTopWidth"),r.left-=s.left+E(e,"borderLeftWidth")}}return{top:r.top-E(t,"marginTop"),left:r.left-E(t,"marginLeft")}}};var Et={class:"className",contenteditable:"contentEditable",for:"htmlFor",readonly:"readOnly",maxlength:"maxLength",tabindex:"tabIndex",colspan:"colSpan",rowspan:"rowSpan",usemap:"useMap"};u.prop=function(t,n){if(t){if(g(t))return t=Et[t]||t,arguments.length<2?this[0]&&this[0][t]:this.each(function(i,e){e[t]=n});for(var r in t)this.prop(r,t[r]);return this}},u.removeProp=function(t){return this.each(function(n,r){delete r[Et[t]||t]})};var rn=/^--/;function Q(t){return rn.test(t)}var V={},en=ft.style,un=["webkit","moz","ms"];function sn(t,n){if(n===void 0&&(n=Q(t)),n)return t;if(!V[t]){var r=K(t),i="".concat(r[0].toUpperCase()).concat(r.slice(1)),e="".concat(r," ").concat(un.join("".concat(i," "))).concat(i).split(" ");d(e,function(s,f){if(f in en)return V[t]=f,!1})}return V[t]}var fn={animationIterationCount:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0};function wt(t,n,r){return r===void 0&&(r=Q(t)),!r&&!fn[t]&<(n)?"".concat(n,"px"):n}function on(t,n){if(g(t)){var r=Q(t);return t=sn(t,r),arguments.length<2?this[0]&&T(this[0],t,r):t?(n=wt(t,n,r),this.each(function(e,s){c(s)&&(r?s.style.setProperty(t,n):s.style[t]=n)})):this}for(var i in t)this.css(i,t[i]);return this}u.css=on;function Ct(t,n){try{return t(n)}catch{return n}}var an=/^\s+|\s+$/;function St(t,n){var r=t.dataset[n]||t.dataset[K(n)];return an.test(r)?r:Ct(JSON.parse,r)}function cn(t,n,r){r=Ct(JSON.stringify,r),t.dataset[K(n)]=r}function hn(t,n){if(!t){if(!this[0])return;var r={};for(var i in this[0].dataset)r[i]=St(this[0],i);return r}if(g(t))return arguments.length<2?this[0]&&St(this[0],t):v(n)?this:this.each(function(e,s){cn(s,t,n)});for(var i in t)this.data(i,t[i]);return this}u.data=hn;function Tt(t,n){var r=t.documentElement;return Math.max(t.body["scroll".concat(n)],r["scroll".concat(n)],t.body["offset".concat(n)],r["offset".concat(n)],r["client".concat(n)])}d([!0,!1],function(t,n){d(["Width","Height"],function(r,i){var e="".concat(n?"outer":"inner").concat(i);u[e]=function(s){if(this[0])return B(this[0])?n?this[0]["inner".concat(i)]:this[0].document.documentElement["client".concat(i)]:A(this[0])?Tt(this[0],i):this[0]["".concat(n?"offset":"client").concat(i)]+(s&&n?E(this[0],"margin".concat(r?"Top":"Left"))+E(this[0],"margin".concat(r?"Bottom":"Right")):0)}})}),d(["Width","Height"],function(t,n){var r=n.toLowerCase();u[r]=function(i){if(!this[0])return v(i)?void 0:this;if(!arguments.length)return B(this[0])?this[0].document.documentElement["client".concat(n)]:A(this[0])?Tt(this[0],n):this[0].getBoundingClientRect()[r]-gt(this[0],!t);var e=parseInt(i,10);return this.each(function(s,f){if(c(f)){var a=T(f,"boxSizing");f.style[r]=wt(r,e+(a==="border-box"?gt(f,!t):0))}})}});var Rt="___cd";u.toggle=function(t){return this.each(function(n,r){if(c(r)){var i=vt(r),e=v(t)?i:t;e?(r.style.display=r[Rt]||"",vt(r)&&(r.style.display=Jt(r.tagName))):i||(r[Rt]=T(r,"display"),r.style.display="none")}})},u.hide=function(){return this.toggle(!1)},u.show=function(){return this.toggle(!0)};var xt="___ce",Z=".",k={focus:"focusin",blur:"focusout"},Nt={mouseenter:"mouseover",mouseleave:"mouseout"},dn=/^(mouse|pointer|contextmenu|drag|drop|click|dblclick)/i;function tt(t){return Nt[t]||k[t]||t}function nt(t){var n=t.split(Z);return[n[0],n.slice(1).sort()]}u.trigger=function(t,n){if(g(t)){var r=nt(t),i=r[0],e=r[1],s=tt(i);if(!s)return this;var f=dn.test(s)?"MouseEvents":"HTMLEvents";t=C.createEvent(f),t.initEvent(s,!0,!0),t.namespace=e.join(Z),t.___ot=i}t.___td=n;var a=t.___ot in k;return this.each(function(y,h){a&&O(h[t.___ot])&&(h["___i".concat(t.type)]=!0,h[t.___ot](),h["___i".concat(t.type)]=!1),h.dispatchEvent(t)})};function Lt(t){return t[xt]=t[xt]||{}}function ln(t,n,r,i,e){var s=Lt(t);s[n]=s[n]||[],s[n].push([r,i,e]),t.addEventListener(n,e)}function At(t,n){return!n||!z.call(n,function(r){return t.indexOf(r)<0})}function F(t,n,r,i,e){var s=Lt(t);if(n)s[n]&&(s[n]=s[n].filter(function(f){var a=f[0],y=f[1],h=f[2];if(e&&h.guid!==e.guid||!At(a,r)||i&&i!==y)return!0;t.removeEventListener(n,h)}));else for(n in s)F(t,n,r,i,e)}u.off=function(t,n,r){var i=this;if(v(t))this.each(function(s,f){!c(f)&&!A(f)&&!B(f)||F(f)});else if(g(t))O(n)&&(r=n,n=""),d(j(t),function(s,f){var a=nt(f),y=a[0],h=a[1],p=tt(y);i.each(function(M,b){!c(b)&&!A(b)&&!B(b)||F(b,p,h,n,r)})});else for(var e in t)this.off(e,t[e]);return this},u.remove=function(t){return x(this,t).detach().off(),this},u.replaceWith=function(t){return this.before(t).remove()},u.replaceAll=function(t){return o(t).replaceWith(this),this};function gn(t,n,r,i,e){var s=this;if(!g(t)){for(var f in t)this.on(f,n,r,t[f],e);return this}return g(n)||(v(n)||P(n)?n="":v(r)?(r=n,n=""):(i=r,r=n,n="")),O(i)||(i=r,r=void 0),i?(d(j(t),function(a,y){var h=nt(y),p=h[0],M=h[1],b=tt(p),W=p in Nt,rt=p in k;b&&s.each(function(it,m){if(!(!c(m)&&!A(m)&&!B(m))){var et=function(l){if(l.target["___i".concat(l.type)])return l.stopImmediatePropagation();if(!(l.namespace&&!At(M,l.namespace.split(Z)))&&!(!n&&(rt&&(l.target!==m||l.___ot===b)||W&&l.relatedTarget&&m.contains(l.relatedTarget)))){var ut=m;if(n){for(var _=l.target;!pt(_,n);)if(_===m||(_=_.parentNode,!_))return;ut=_}Object.defineProperty(l,"currentTarget",{configurable:!0,get:function(){return ut}}),Object.defineProperty(l,"delegateTarget",{configurable:!0,get:function(){return m}}),Object.defineProperty(l,"data",{configurable:!0,get:function(){return r}});var bn=i.call(ut,l,l.___td);e&&F(m,b,M,n,et),bn===!1&&(l.preventDefault(),l.stopPropagation())}};et.guid=i.guid=i.guid||o.guid++,ln(m,b,M,n,et)}})}),this):this}u.on=gn;function vn(t,n,r,i){return this.on(t,n,r,i,!0)}u.one=vn;var pn=/\r?\n/g;function mn(t,n){return"&".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(n.replace(pn,`\r `)))}var yn=/file|reset|submit|button|image/i,Ot=/radio|checkbox/i;u.serialize=function(){var t="";return this.each(function(n,r){d(r.elements||[r],function(i,e){if(!(e.disabled||!e.name||e.tagName==="FIELDSET"||yn.test(e.type)||Ot.test(e.type)&&!e.checked)){var s=bt(e);if(!v(s)){var f=H(s)?s:[s];d(f,function(a,y){t+=mn(e.name,y)})}}})}),t.slice(1)},typeof exports<"u"?module.exports=o:D.cash=o})(); // app window.OMGJquery = window.cash } else { window.OMGJquery = window.jQuery } var OMGRFQConfigs = {}; var omgrfq_productCollection = []; window.OMGIsUsingMigrate = true; var countAppendPrice = 0 let OMGRFQB2bSettings = {} function getElementsCollectionsPage() { const selectors = [ ".grid__item--collection-template", ".grid--uniform .grid__item > .grid-product__content", ".card-list .card-list__column .card", ".grid-uniform .grid__item", ".grid-uniform .grid-item", ".collage-grid__row .grid-product", ".product-card .product-card__content", ".card-wrapper .card > .card__content", ".card-wrapper > .card-information", ".product__grid-item .product-wrap", ".productgrid--items .productgrid--item", ".product-block > .product-block__inner", ".list-item.product-list-item", ".product-block .block-inner", ".product-list--collection .product-item", "#main-collection-product-grid [class^='#column']", ".collection-grid .grid-product", '.grid--uniform .grid__item', '.main-content .grid .grid__item.four-fifths', '.ecom-collection__product-item', '.modal-content > .product--outer', ] return selectors.join(',') } function OMGQuotesPriceClass() { const selectors = [ '#productPrice-product-template', '.modal_price', '.product-form--price-wrapper', '.product-single__price', '.product_single_price', '.product-single__price-product-template', '.prices', '.price', '.product-pricing', '.product__price-container', '.product--price', '.product-price', '.product-prices', '.product__price', '.price-box', '.price-container', '.price-list', '.product-detail .price-area', '.price_outer', '#product-price', '.price_range', '.detail-price', '.product-single__form-price', '.data-price-wrapper', ".priceProduct", "#ProductPrice", ".product-single__meta-list", ".product-single__prices", ".ProductMeta__PriceList", ".tt-price", '.single_product__price', '.pricearea', '.product-item-caption-price', '.product--price-wrapper', '.product-card__price', '.product-card__availability', '.productitem--price', '.boost-pfs-filter-product-item-price', '.price_wrapper', '.product-list-item-price', '.grid-product__price', '.product_price', '.grid-product__price-wrap', '.product-item__price', '.price-product', '.product-price__price', '.product-item__price-wrapper', '.product__prices', '.product-item--price', '.grid-link__meta', '.list-meta', '.ProductItem .ProductItem__PriceList', '.product-item__price-list', '.product-thumb-caption-price', '.product-card__price-wrapper', '.card__price', '.card__availability', "#main-collection-product-grid [class^='#product-card-price']", '.grid__item span[itemprop="price"]', '.f\\:product-single__block-product-price', '.ecom-product-single__price', '.ecom-collection__product-prices', '.productitem--price', '.modal_price', '.variant-item__quantity .quantity.cart-quantity', '.variant-item__price .price', '.variant-item__totals .price', '.totals__product-total', '.product-form-installment', '.product-pricing', '.t4s-product-price' ]; return selectors.join(","); } function OMGQuotesTitleClass() { const selectors = [ '.product-single__title', '.product-title', '.product-single h2', '.product-name', '.product__heading', '.product-header', '.detail-info h1', '#product-description h1', '.product__title', '.product-meta__title', '#productInfo-product h1', '.product-detail .title', '.section_title', '.product-info-inner h1.page-heading', '.shopify-product-form', '.product_title', '.product_name', '.ProductMeta__Title', '.tt-title', '.single_product__title', '.product-item-caption-title', '.section__title', '.f\\:product-single__block-product-title', '.ecom-product__heading', '.product-item__title', '.product-details_title', ]; return selectors.join(','); } function OMGQuotesDescriptionClass() { const selectors = [ '.product-single__description', '.short-description', '.product-description', '.description', '.short-des', '.product-details__description', '.product-desc', '#product-description .rte', '.product__description', '.product_description', '.product-block-list__item--description', '.tabs__product-page', '.pr_short_des', '.product-single__desc', '.product-tabs', '.site-box-content .rte', '.product-simple-tab', '.product_section .description', '.ProductMeta__Description', '.tt-collapse-block', '.product-single .detail-bottom', '.short-description-detail', '.dt-sc-tabs-container', '.product-thumbnail__price', '.collapsibles-wrapper', '.product-description-tabs', '.product-single__content-text', '.product-tabs', '.f\\:product-single__block-product-description', '.ecom-product-single__description', '.product__description-container', ]; return selectors.join(','); } function OMGQuotesCollectionCartClass() { const selectors = [ '.btn.product-btn', '.product-item .action form', '.btn.add-to-cart-btn', '.boost-pfs-addtocart-wrapper', '.productitem--action', '.btn-cart', '.product-form .product-add', '.button--add-to-cart', '.product-item__action-button', '.blog-read-more', '.tt-btn-addtocart', '.pr_atc_', '.product-add-cart', '.productgrid--items .productgrid--item button.productitem--action-atc', '.add_to_cart_button', '.product-item__action-list', '.quick-add__submit', '.ecom-product-single__add-to-cart', '.ecom-collection__product-simple-add-to-cart', '.product-form--atc-button', ]; return selectors.join(','); } OMGRFQConfigs = {"store":"design-story-inc.myshopify.com","app_url":"https:\/\/api.omegatheme.com\/quote-snap\/","app_url_old":"https:\/\/api.omegatheme.com\/quote-list\/","settings":{"general_settings":{"email_vat":0,"added_code":1,"calendar_lang":"en","redirect_link":"","vat_form_text":"Vat","calendar_theme":"material_blue","customize_data":{"isDefault":false,"button_view_history_quotes":{"color":"rgba(255, 255, 255, 1)","bg_color":"rgba(32, 34, 35, 1)","font_size":"Default","text_bold":0,"text_align":"center","text_italic":0,"text_underline":0,"stroke_enable":0,"stroke_size":"Default","stroke_color":"rgba(255, 201, 107, 1)","shadow_enable":0,"hover_enable":0,"hover_font_size":"Default","hover_font_color":"rgba(255, 255, 255, 1)","hover_border_radius":"Default","hover_bg_color":"rgba(255, 206, 122, 1)","hover_stroke_size":"Default","hover_stroke_color":"rgba(255, 206, 122, 1)","border_radius":"Default"},"button_view_quotes":{"color":"rgba(255, 255, 255, 1)","bg_color":"rgba(32, 34, 35, 1)","font_size":"Default","text_bold":0,"text_align":"center","text_italic":0,"text_underline":0,"stroke_enable":0,"stroke_size":"Default","stroke_color":"rgba(255, 201, 107, 1)","shadow_enable":0,"hover_enable":0,"hover_font_size":"Default","hover_font_color":"rgba(255, 255, 255, 1)","hover_border_radius":"Default","hover_bg_color":"rgba(255, 206, 122, 1)","hover_stroke_size":"Default","hover_stroke_color":"rgba(255, 206, 122, 1)","border_radius":"Default"},"button_add_quote":{"color":"rgba(133, 96, 48, 1)","bg_color":"rgba(245, 244, 241, 1)","font_size":"Default","text_bold":0,"text_align":"center","text_italic":0,"text_underline":0,"stroke_enable":1,"stroke_size":"Default","stroke_color":"rgba(32, 34, 35, 1)","shadow_enable":0,"hover_enable":1,"hover_font_size":"Default","hover_font_color":"rgba(255, 255, 255, 1)","hover_border_radius":"Default","hover_bg_color":"rgba(137, 112, 71, 1)","hover_stroke_size":"Default","hover_stroke_color":"rgba(255, 206, 122, 1)","border_radius":"Default"}},"submit_all_cart":0,"user_confirm_email":0,"view_button_manual":0,"redirect_continue_btn":"","unsuccess_submit_mess":"Error when submitting a quote request!","add_quote_success_mess":"Add product to quote successfully!","user_confirm_email_text":"Your confirm quote has been sent into your email","request_quote_page_title_text":"Request A Quote","allow_out_stock":1,"custom_css":"","allow_collection_button":0,"position_button":"auto","custom_element_position":".product-single__title","show_on_product":1,"hide_price":1,"hide_add_cart":1,"hide_price_collection":1,"hide_add_cart_collection":0,"form_data":[{"id":610746,"max":"20","min":"0","req":1,"send":1,"type":"text","input":"text","label":"Name","width":"50","placeholder":"Enter your name"},{"id":361827,"max":20,"min":0,"req":1,"send":1,"type":"number","input":"text","label":"Contact Number","width":"100","margin_top":"0","placeholder":"Enter contact number"},{"id":481696,"max":"100","min":"0","req":1,"send":1,"type":"email","input":"text","label":"Email","width":"50","placeholder":"Enter Email"},{"id":523619,"max":"100","min":"0","req":0,"send":1,"type":"textarea","input":"text","label":"Message","width":"100","placeholder":"Message"}],"ggsite_key":{"v2":"","v3":""},"type_recaptcha":0,"use_google_recaptcha":0,"sku_text":"SKU: {sku_value}","product_text":"Product","price_text":"Price","option_text":"Finish","message_text":"Message","quantity_text":"Quantity","total_form_text":"Subtotal","show_product_sku":0,"show_total_price":0,"total_price_text":"Total Price","hide_option_table":0,"hide_remove_table":0,"offered_price_text":"WISHED PRICE","show_offered_price":0,"show_product_price":0,"hide_quantity_table":0,"message_placeholder":"Add Notes","properties_form_text":"Properties","show_product_message":0,"show_properties_form":0,"show_total_price_products":0,"popup_shopping_mess":"Continue Shopping","popup_header_list_quote":"Request List","submitting_quote_mess":"Submitting Request","submitting_position":"right","empty_quote_mess":"Your quote is currently empty","popup_header_empty_quote":"Empty List","empty_quote_image":1,"continue_shopping_empty_label":"Continue Shopping","tracking_source":0,"viewed_products":0,"show_app_in_page":0,"auto_create_draft":0,"customer_data_sync":0,"choosen_page":0,"submit_quote_button":"Request Submitted","success_submit_mess":"Thank you for submitting a quote request!","popup_header_submited_quote":"Request Submitted","continue_shopping_submit_label":"Submit Request","request_submit_image":1,"type_quote_form":"page","submit_form_add_one":0,"submit_form_add_one_text":"Only add 1 product to your submit quote form","toast_message_success":"Your quote is successfully added","toast_display_duration":3,"show_next_cart_history":0,"view_quote_history_position":{"side":"right","margin_top":{"unit":"px","amount":210}},"view_history_quotes_mess":"View History Quotes","show_history_quotes_button":0,"show_next_cart":0,"view_quote_position":{"side":"right","margin_top":{"unit":"percentage","amount":5}},"view_quote_mess":"Request For Quote","show_view_button":1,"show_view_button_empty":0,"button_text":"ENQUIRE NOW"},"custom_script":"\/*write your custom script here*\/\r\ndocument.addEventListener(\"DOMContentLoaded\", () => {\r\n if (!OMGRFQConfigs?.abTests?.quote_snap_auto_hide_price_oct_2023) {\r\n console.log('not abTest')\r\n appendElementInCollectionPage()\r\n }\r\n initAppQuotesOMG();\r\n })\r\nfunction OMGWaitConfig() {\r\n\tlet checkDataChange = false;\r\n\tlet currentPage = OMGRFQGlobalVariables.$jQueryLib('.infinitpaginOuter .infinitpagin .infinite').attr(\"href\")\r\n\tsetInterval(function(){ \r\n\t\t\tif (currentPage != OMGRFQGlobalVariables.$jQueryLib('.infinitpaginOuter .infinitpagin .infinite').attr(\"href\")) {\r\n\t\t\t\t\tcheckDataChange = true;\r\n\t\t\t\t\tconsole.log(currentPage)\r\n\t\t\t}\r\n\t\r\n\t\t\tif (OMGRFQGlobalVariables.$jQueryLib(\".omgrfq-collection-button\").length > 0 && checkDataChange && !currentPage != OMGRFQGlobalVariables.$jQueryLib('.infinitpaginOuter .infinitpagin .infinite').attr(\"href\")) {\r\n\t\t\t\t\tOMGRFQGlobalVariables._vnode.componentInstance.showButtonInSpecialPosition('.omgrfq-collection-button');\r\n\t\t\t\t\tcheckDataChange = false;\r\n\t\t\t\t\tcurrentPage = OMGRFQGlobalVariables.$jQueryLib('.infinitpaginOuter .infinitpagin .infinite').attr(\"href\")\r\n\t\t\t}\r\n\t });\r\n\t}\r\n\t\t\r\n\tconst checkGlobal = setInterval(() =>{ \r\n\t\tif (window.OMGRFQGlobalVariables && window.OMGRFQConfigs) {\r\n\t\t\tOMGWaitConfig();\r\n\t\t\tclearInterval(checkGlobal);\r\n\t\t}\r\n\t});","hide_price_settings":{"follow_quote":1,"hide_price":1,"hide_add_cart":1,"hide_price_collection":1,"hide_add_cart_collection":0,"applied_products_mode":4,"applied_customers_mode":1,"to_see_price":0,"applied_products_tags":["pre-order","pre order","pre-order 2022"],"applied_customers_tags":[],"applied_specific_products":[],"applied_products_collections":[{"collection_id":421141479658,"title":"pre-order 2022","image":"","shop":"design-story-inc.myshopify.com"}]},"support_settings":{"price_element":".product-price__price, .product-single__price","loading_element":"","collection_element":".grid-view-item__meta, .product-price__price","list_collection_data":{"index":{"all":{"class_append":"","product_per_page":12}},"search":{"class_append":"","product_per_page":12},"collection":{"class_append":"","product_per_page":12}},"price_element_collection":"","add_cart_collection_element":"","hide_price_cart_button_immediately":""},"condition_product_rule":{"automate_kind_condition":"AND","enable_all_products":0,"enable_automate_products":1,"enable_manual_products":0,"manual_products":[],"addConditions":[[{"isTime":false,"isNumber":true,"isString":false,"isChoosen":"smaller","isCustomer":false,"isInventory":false,"selectedType":"inventory","valueCondition":"1"}]]}},"theme":[],"abTests":{"export_quote_pdf_Mar_2022":true,"redesign_hide_price_may_2023":true,"quote_snap_restructure_jul_2023":true,"quote_snap_storefront_improve_jul_2023":true,"quote_snap_charge_plan_aug_2023":false,"quote_snap_new_home_page":true,"quote_snap_new_home_page_onboarding_trial_oct_2023":false,"quote_snap_free_trial_oct_2023":false,"quote_snap_auto_hide_price_oct_2023":false,"quote_snap_halloween_oct_2023":false,"quote_snap_charge_now_nov_2023":true,"quote_salesperson_sep_2023":true,"quote_snap_admin_email_oct_2023":true,"quote_snap_recommend_app_nov_2023":true,"quote_snap_BFCM_oct_2023":false,"quote_snap_new_onboarding_nov_2023":true,"quote_snap_convert_email_oct_2023":true,"quote_snap_new_get_started_nov_2023":true,"quote_snap_bfs_nov_2023":true,"quote_snap_switch_app_free_plan_dec_2023":true,"quote_snap_discount_30_dec_2023":false,"quote_snap_translate_text_dec_2023":true,"quote_snap_email_translate_dec_2023":true,"quote_snap_get_started_dec_2023":true,"quote_snap_email_multiple_language_dec_2023":true,"quote_snap_pdf_multiple_language_dec_2023":true,"quote_snap_integrate_mailchimp_jan_2024":true,"quote_snap_hide_price_country_jan_2024":true,"quote_snap_integrate_hubspot_jan_2024":true,"quote_snap_integrate_shopify_jan_2024":true,"quote_snap_upload_file_aws_jan_2024":false,"quote_snap_up_sell_march_2024":false,"quote_snap_charge_one_time_mar_2024":false,"quote_snap_off_collection_march_2024":false,"quote_snap_charge_one_time_with_discount_mar_2024":false,"quote_snap_modal_charge_one_time_march_2024":false,"quote_snap_restructure_email_mar_2024":true,"quote_snap_convert_product_variant_apr_2024":true,"quote_snap_on_off_onboarding_apr_2024":false}} if (OMGRFQConfigs?.abTests?.quote_snap_auto_hide_price_oct_2023) { // } function appendElementInCollectionPage() { if (!(Number(OMGRFQConfigs.settings.general_settings.allow_collection_button) || OMGRFQConfigs.settings?.hide_price_settings?.hide_price_collection || OMGRFQConfigs.settings?.hide_price_settings?.hide_add_cart_collection)) { return } if (OMGRFQConfigs?.settings?.support_settings?.list_collection_data) { countAppendPrice += 1; const omgrfqElement = document.querySelectorAll(".omgrfq-collection-button"); let elementItems = document.querySelectorAll(getElementsCollectionsPage()); if (OMGRFQConfigs.settings.support_settings && OMGRFQConfigs.settings.support_settings.collection_element && document.querySelectorAll(OMGRFQConfigs.settings.support_settings.collection_element).length) { elementItems = document.querySelectorAll(OMGRFQConfigs.settings.support_settings.collection_element); } if (countAppendPrice > 100) { return; } if (elementItems.length && !omgrfqElement.length) { if (elementItems[0]) { let element0 = document.createElement('div'); element0.className = "omgrfq-collection-button"; element0.dataset.productId = "9265038950685"; element0.dataset.productHandle = "12cm-bowl-set"; elementItems[0].appendChild(element0); }if (elementItems[1]) { let element1 = document.createElement('div'); element1.className = "omgrfq-collection-button"; element1.dataset.productId = "4834643968059"; element1.dataset.productHandle = "13eighty-armchair-new-arrival"; elementItems[1].appendChild(element1); }if (elementItems[2]) { let element2 = document.createElement('div'); element2.className = "omgrfq-collection-button"; element2.dataset.productId = "9264290922781"; element2.dataset.productHandle = "3-pint-jug"; elementItems[2].appendChild(element2); }if (elementItems[3]) { let element3 = document.createElement('div'); element3.className = "omgrfq-collection-button"; element3.dataset.productId = "4667120451643"; element3.dataset.productHandle = "30-degrees-shade"; elementItems[3].appendChild(element3); }if (elementItems[4]) { let element4 = document.createElement('div'); element4.className = "omgrfq-collection-button"; element4.dataset.productId = "5744314548390"; element4.dataset.productHandle = "about-a-chair-aac-08-pre-order"; elementItems[4].appendChild(element4); }if (elementItems[5]) { let element5 = document.createElement('div'); element5.className = "omgrfq-collection-button"; element5.dataset.productId = "5775436185766"; element5.dataset.productHandle = "about-a-chair-aac-09-pre-order"; elementItems[5].appendChild(element5); }if (elementItems[6]) { let element6 = document.createElement('div'); element6.className = "omgrfq-collection-button"; element6.dataset.productId = "5744234561702"; element6.dataset.productHandle = "about-a-chair-aac-10-pre-order"; elementItems[6].appendChild(element6); }if (elementItems[7]) { let element7 = document.createElement('div'); element7.className = "omgrfq-collection-button"; element7.dataset.productId = "5775511650470"; element7.dataset.productHandle = "about-a-chair-aac-11-pre-order"; elementItems[7].appendChild(element7); }if (elementItems[8]) { let element8 = document.createElement('div'); element8.className = "omgrfq-collection-button"; element8.dataset.productId = "4802537586747"; element8.dataset.productHandle = "about-a-chair-aac-12-pre-order"; elementItems[8].appendChild(element8); }if (elementItems[9]) { let element9 = document.createElement('div'); element9.className = "omgrfq-collection-button"; element9.dataset.productId = "4864340197435"; element9.dataset.productHandle = "about-a-chair-aac-12-with-front-upholstery"; elementItems[9].appendChild(element9); }if (elementItems[10]) { let element10 = document.createElement('div'); element10.className = "omgrfq-collection-button"; element10.dataset.productId = "6781192208550"; element10.dataset.productHandle = "about-a-chair-aac-121-pre-order"; elementItems[10].appendChild(element10); }if (elementItems[11]) { let element11 = document.createElement('div'); element11.className = "omgrfq-collection-button"; element11.dataset.productId = "6781223469222"; element11.dataset.productHandle = "about-a-chair-aac-121-soft-pre-order"; elementItems[11].appendChild(element11); }}// append collection if (window.OMGRFQGlobalVariables) { OMGRFQGlobalVariables._vnode.componentInstance.showButtonInSpecialPosition('.omgrfq-collection-button'); } setTimeout(() => { appendElementInCollectionPage() }, 50) } else { appendElementInCollectionPageDefault() } } function appendElementInCollectionPageDefault() { } // callback app url if (!OMGRFQConfigs?.app_url) { OMGRFQConfigs.app_url = "https://api.omegatheme.com/quote-list/"; } const omgConfigSettings = OMGRFQConfigs?.settings // call custom script const headAppend = document.head headAppend.appendChild( document.createRange().createContextualFragment('-->

디자인 스토리

더 알아보기
Loading...