/** * Duplicator Dismissible Notices. * */ 'use strict'; var DupAdminNotices = window.DupAdminNotices || (function (document, window, $) { /** * Public functions and properties. */ var app = { /** * Start the engine. */ init: function () { $(app.ready); }, /** * Document ready. */ ready: function () { app.events(); }, /** * Dismissible notices events. */ events: function () { $(document).on( 'click', '.dup-notice .notice-dismiss, .dup-notice .dup-notice-dismiss', app.dismissNotice ); $(document).on( 'click', '.dup-notice .dup-multi-notice a[data-step]', function (e) { e.preventDefault(); var target = $(this).attr('data-step'); console.log(target) if (target) { var notice = $(this).closest('.dup-multi-notice'); var review_step = notice.find('.dup-multi-notice-step-' + target); if (review_step.length > 0) { notice.find('.dup-multi-notice-step:visible').fadeOut(function () { review_step.fadeIn(); }); } } } ); }, /** * Dismiss notice event handler. * * @param {object} e Event object. * */ dismissNotice: function (e) { $.post(dup_admin_notices.ajax_url, { action: 'dup_notice_dismiss', nonce: dup_admin_notices.nonce, id: ($(this).closest('.dup-notice').attr('id') || '').replace('dup-notice-', ''), }); $(this).closest('.dup-notice').fadeOut(); } }; return app; }(document, window, jQuery)); // Initialize. DupAdminNotices.init(); {"id":3089,"date":"2021-02-11T10:32:16","date_gmt":"2021-02-11T10:32:16","guid":{"rendered":"https:\/\/asiatexmanufacturing.com\/?post_type=product&p=3089"},"modified":"2022-12-16T06:14:49","modified_gmt":"2022-12-16T06:14:49","slug":"sm189-2701","status":"publish","type":"product","link":"https:\/\/asiatexmanufacturing.com\/product\/sm189-2701\/","title":{"rendered":"SM189-2701"},"content":{"rendered":"

Item Code: SM189-2701<\/span><\/p>\n

Fabric Type: Printed Rayon<\/p>\n

Fabric Construction: 100% Rayon<\/p>\n

Weight:\u00a0 90-95 gsm<\/p>\n

Width: 143cm \/ 55 inches<\/p>\n

Remarks:<\/p>\n","protected":false},"excerpt":{"rendered":"

Item Code: SM189-2701 Fabric Type: Printed Rayon Fabric Construction: 100% Rayon Weight:\u00a0 90-95 gsm Width: 143cm \/ 55 inches Remarks:<\/p>\n","protected":false},"featured_media":3675,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_cat":[103],"product_tag":[],"class_list":["post-3089","product","type-product","status-publish","has-post-thumbnail","hentry","product_cat-rayonchallis"],"_links":{"self":[{"href":"https:\/\/asiatexmanufacturing.com\/wp-json\/wp\/v2\/product\/3089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/asiatexmanufacturing.com\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/asiatexmanufacturing.com\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/asiatexmanufacturing.com\/wp-json\/wp\/v2\/comments?post=3089"}],"version-history":[{"count":3,"href":"https:\/\/asiatexmanufacturing.com\/wp-json\/wp\/v2\/product\/3089\/revisions"}],"predecessor-version":[{"id":5327,"href":"https:\/\/asiatexmanufacturing.com\/wp-json\/wp\/v2\/product\/3089\/revisions\/5327"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/asiatexmanufacturing.com\/wp-json\/wp\/v2\/media\/3675"}],"wp:attachment":[{"href":"https:\/\/asiatexmanufacturing.com\/wp-json\/wp\/v2\/media?parent=3089"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/asiatexmanufacturing.com\/wp-json\/wp\/v2\/product_cat?post=3089"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/asiatexmanufacturing.com\/wp-json\/wp\/v2\/product_tag?post=3089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}