start header in mobile size
end header in mobile size
start mobile side menu
end mobile side menu
start mobile cart shopping
end mobile cart shopping
start user loggedin menu
end user loggedin menu
Showing all 2 resultsSorted by latest
مرتب سازی بر اساس محبوبیت
مرتب سازی بر اساس میانگین رتبه
مرتب سازی بر اساس جدیدترین
مرتب سازی بر اساس هزینه: کم به زیاد
مرتب سازی بر اساس هزینه: زیاد به کم
jQuery(document).ready(function ($) {
var $gallery = $(‘.wp-block-gallery a’).simpleLightbox();
$gallery.on(‘show.simplelightbox’, function(){
console.log(‘Requested for showing’);
})
.on(‘shown.simplelightbox’, function(){
console.log(‘Shown’);
})
.on(‘close.simplelightbox’, function(){
console.log(‘Requested for closing’);
})
.on(‘closed.simplelightbox’, function(){
console.log(‘Closed’);
})
.on(‘change.simplelightbox’, function(){
console.log(‘Requested for change’);
})
.on(‘next.simplelightbox’, function(){
console.log(‘Requested for next’);
})
.on(‘prev.simplelightbox’, function(){
console.log(‘Requested for prev’);
})
.on(‘nextImageLoaded.simplelightbox’, function(){
console.log(‘Next image loaded’);
})
.on(‘prevImageLoaded.simplelightbox’, function(){
console.log(‘Prev image loaded’);
})
.on(‘changed.simplelightbox’, function(){
console.log(‘Image changed’);
})
.on(‘nextDone.simplelightbox’, function(){
console.log(‘Image changed to next’);
})
.on(‘prevDone.simplelightbox’, function(){
console.log(‘Image changed to prev’);
})
.on(‘error.simplelightbox’, function(e){
console.log(‘No image found, go to the next/prev’);
console.log(e);
});
});
Modal
function __load_wpfront_notification_bar() {
if (typeof wpfront_notification_bar === “function”) {
wpfront_notification_bar({“position”:2,”height”:0,”fixed_position”:true,”animate_delay”:0.5,”close_button”:false,”button_action_close_bar”:false,”auto_close_after”:0,”display_after”:1,”is_admin_bar_showing”:false,”display_open_button”:false,”keep_closed”:false,”keep_closed_for”:0,”position_offset”:0,”display_scroll”:false,”display_scroll_offset”:100,”keep_closed_cookie”:”wpfront-notification-bar-keep-closed”,”log”:false,”id_suffix”:””,”log_prefix”:”[WPFront Notification Bar]”,”theme_sticky_selector”:””,”set_max_views”:false,”max_views”:0,”max_views_for”:0,”max_views_cookie”:”wpfront-notification-bar-max-views”});
} else {
setTimeout(__load_wpfront_notification_bar, 100);
}
}
__load_wpfront_notification_bar();
{“prefetch”:[{“source”:”document”,”where”:{“and”:[{“href_matches”:”\/*”},{“not”:{“href_matches”:[“\/wp-*.php”,”\/wp-admin\/*”,”\/wp-content\/uploads\/*”,”\/wp-content\/*”,”\/wp-content\/plugins\/*”,”\/wp-content\/themes\/hamyar\/*”,”\/*\\?(.+)”]}},{“not”:{“selector_matches”:”a[rel~=\”nofollow\”]”}},{“not”:{“selector_matches”:”.no-prefetch, .no-prefetch a”}}]},”eagerness”:”conservative”}]}
var ajaxurl = “https://rayegan.markets/wp-admin/admin-ajax.php”;
function openBranch(jQueryElement,noAnimation)
{
jQueryElement.addClass(‘OPEN’).removeClass(‘CLOSE’);
if(noAnimation)
jQueryElement.parent().find(‘ul:first’).show();
else
jQueryElement.parent().find(‘ul:first’).slideDown();
}
function closeBranch(jQueryElement,noAnimation)
{
jQueryElement.addClass(‘CLOSE’).removeClass(‘OPEN’);
if(noAnimation)
jQueryElement.parent().find(‘ul:first’).hide();
else
jQueryElement.parent().find(‘ul:first’).slideUp();
}
function toggleBranch(jQueryElement,noAnimation)
{
if(jQueryElement.hasClass(‘OPEN’))
closeBranch(jQueryElement,noAnimation);
else
openBranch(jQueryElement,noAnimation);
}
$(document).on(‘click’, ‘.like-post’, function (event) {
event.preventDefault();
var $this = $(this);
var $post_id = $this.data(‘pid’);
if (parseInt($this.data(‘liked’))) {
// alert(‘شما قبلا رای خود را ثبت کرده اید’);
// return false;
}
$.ajax({
url: ajaxurl,
type: ‘post’,
dataType: ‘json’,
data: {
action: ‘like_post’,
post_id: $post_id
},
success: function (response) {
if (response.success) {
$this.find(‘span’).text(response.count);
$this.data(‘liked’, 1);
}
},
error: function () {
}
});
});
jQuery(function ($) {
/* when product quantity changes, update quantity attribute on add-to-cart button */
$(“form.cart”).on(“change”, “input.qty”, function() {
if (this.value === “0”)
this.value = “1”;
$(this.form).find(“button[data-quantity]”).data(“quantity”, this.value);
});
/* remove old “view cart” text, only need latest one thanks! */
$(document.body).on(“adding_to_cart”, function() {
$(“a.added_to_cart”).remove();
});
});
{“@context”:”https:\/\/schema.org\/”,”@type”:”BreadcrumbList”,”itemListElement”:[{“@type”:”ListItem”,”position”:1,”item”:{“name”:”\u062e\u0627\u0646\u0647″,”@id”:”https:\/\/rayegan.markets”}},{“@type”:”ListItem”,”position”:2,”item”:{“name”:”\u06a9\u062a\u0627\u0628 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634\u06cc”,”@id”:”https:\/\/rayegan.markets\/product-category\/educational-books\/”}},{“@type”:”ListItem”,”position”:3,”item”:{“name”:”\u06a9\u062a\u0627\u0628 \u0622\u0634\u067e\u0632\u06cc”,”@id”:”https:\/\/rayegan.markets\/product-category\/educational-books\/cookbooks\/”}}]}
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, ‘woocommerce-js’);
document.body.className = c;
})();
/* <![CDATA[ */
var yith_wcwl_l10n = {"ajax_url":"\/wp-admin\/admin-ajax.php","redirect_to_cart":"no","yith_wcwl_button_position":"","multi_wishlist":"","hide_add_button":"1","enable_ajax_loading":"","ajax_loader_url":"https:\/\/rayegan.markets\/wp-content\/plugins\/yith-woocommerce-wishlist\/assets\/images\/ajax-loader-alt.svg","remove_from_wishlist_after_add_to_cart":"1","is_wishlist_responsive":"1","time_to_close_prettyphoto":"3000","fragments_index_glue":".","reload_on_found_variation":"1","mobile_media_query":"768","labels":{"cookie_disabled":"\u0645\u062a\u0627\u0633\u0641\u06cc\u0645\u060c \u0644\u06cc\u0633\u062a \u0639\u0644\u0627\u0642\u0647 \u0645\u0646\u062f\u06cc \u0632\u0645\u0627\u0646\u06cc \u0622\u0645\u0627\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0634\u0645\u0627 \u06a9\u0648\u06a9\u06cc \u0645\u0631\u0648\u06af\u0631\u062a\u0648\u0646 \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f.","added_to_cart_message":"
\u0645\u062d\u0635\u0648\u0644\u0627\u062a \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u0628\u0647 \u0633\u0628\u062f \u062e\u0631\u06cc\u062f\u062a\u0627\u0646 \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0646\u062f”},”actions”:{“add_to_wishlist_action”:”add_to_wishlist”,”remove_from_wishlist_action”:”remove_from_wishlist”,”reload_wishlist_and_adding_elem_action”:”reload_wishlist_and_adding_elem”,”load_mobile_action”:”load_mobile”,”delete_item_action”:”delete_item”,”save_title_action”:”save_title”,”save_privacy_action”:”save_privacy”,”load_fragments”:”load_fragments”},”nonce”:{“add_to_wishlist_nonce”:”dd1715c0d2″,”remove_from_wishlist_nonce”:”3693820b16″,”reload_wishlist_and_adding_elem_nonce”:”7576bf2acc”,”load_mobile_nonce”:”0ba78a0a97″,”delete_item_nonce”:”0c8366d9bf”,”save_title_nonce”:”42abdd6063″,”save_privacy_nonce”:”f4fd14de51″,”load_fragments_nonce”:”ec62f1d10c”},”redirect_after_ask_estimate”:””,”ask_estimate_redirect_url”:”https:\/\/rayegan.markets”};
/* ]]> */
/* */
/* */