Файловый менеджер - Редактировать - /home/kunzqhe/www/wp-content/themes/themify-ultra/js/modules/sticky-add-cart.min.js
Ðазад
'use strict';(function(g,h,k){const l=function(a){const d=document.querySelector("#content .product");d&&g.LoadCss(h.theme_url+"/styles/wc/modules/single/sticky-add-cart.css",h.theme_v,null,null,function(){const b=document.createElement("div"),c=document.createElement("div"),f=document.createElement("div");var e=document.createElement("div");const g=document.getElementById("tf_sticky_form_wrap");b.className="tf_box pagewidth tf_clearfix";c.id=d.id;c.className=d.classList;e.className="images";e.appendChild(d.getElementsByClassName("woocommerce-product-gallery__image")[0].cloneNode(!0)); c.appendChild(e);f.className="summary entry-summary";f.appendChild(document.querySelector(".product .product_title").cloneNode(!0));f.appendChild(document.querySelector(".product .price").cloneNode(!0));e=d.querySelector("form.cart");g.style.height=e.getBoundingClientRect().height+"px";f.appendChild(e);c.appendChild(f);a.dataset.url="";b.appendChild(c);a.appendChild(b);a.classList.add("tf_st_show")})};g.on("themify_theme_sticky_add_cart_init",function(a){l(a)}).on("themify_theme_sticky_add_cart_switched", function(a,d){{var b=document.getElementById("tf_sticky_form_wrap");const c="hide"===d?a.querySelector("form.cart"):document.querySelector("form.cart");c&&("hide"===d?(b.appendChild(c),b.style.height=null):(a=a.getElementsByClassName("images")[0],b.style.height=c.getBoundingClientRect().height+"px",a.parentNode.insertBefore(c,a.nextSibling)),b=k(".variations_form"),0<b.length&&b.trigger("check_variations"))}})})(Themify,themify_vars,jQuery);
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка