Plugin Directory

Changeset 3195108


Ignore:
Timestamp:
11/22/2024 04:55:54 PM (15 months ago)
Author:
gplsaver
Message:

add to cart js decoded

Location:
woo-rfq-for-woocommerce
Files:
124 added
6 edited

Legend:

Unmodified
Added
Removed
  • woo-rfq-for-woocommerce/trunk/changelog.txt

    r3194574 r3195108  
    11== Changelog ==
     2
     3= 1.9.178 11/22/2024 =
     4add to cart js decoded
    25
    36= 1.9.177 11/21/2024 =
  • woo-rfq-for-woocommerce/trunk/includes/classes/cart/gpls_woo_rfq_cart.php

    r3183496 r3195108  
    595595                                    var note_id = "#note_" + jQuery(form).data('rfq-product-id');
    596596
    597                                     jQuery(note_id).html('<?php echo wp_kses($result,wp_kses_allowed_html( 'post' )) ?>');
     597                                    jQuery(note_id).html('<?php echo html_entity_decode(wp_kses($result,wp_kses_allowed_html( 'post' ))) ?>');
    598598
    599599                                    jQuery(image_div).hide();
     
    756756
    757757
    758                 $rfq_product_script = "<script>jQuery( document ).ready( function() {jQuery( '.tax-rate' ).hide();
     758                $rfq_product_script = "<div class='gpls_script' style='display: none'>
     759                <script>jQuery( document ).ready( function() {jQuery( '.tax-rate' ).hide();
    759760                 jQuery( '.cart-subtotal' ).hide(); jQuery( '.order-total' ).hide();jQuery( '.tax-total' ).hide();} );
    760                  </script>";
     761                 </script></div>";
    761762            } else {
    762763                $rfq_product_script = '';
     
    765766
    766767           // $content = wp_kses($content, wp_kses_allowed_html('post'));
    767             echo html_entity_decode(wp_kses($rfq_product_script, wp_kses_allowed_html('post')));
    768 
    769 
     768           // echo html_entity_decode(wp_kses($rfq_product_script, wp_kses_allowed_html('post')));
     769
     770            echo $rfq_product_script;
    770771        }
    771772
     
    14841485
    14851486                    echo "<div class='gpls_script' style='display: none'><script> " .
    1486                         html_entity_decode(wp_kses($rfq_product_script,wp_kses_allowed_html( 'post' ))). '</script></div>';
     1487                        $rfq_product_script. '</script></div>';
    14871488//end test
    14881489
     
    15401541
    15411542
    1542                     echo "<div class='gpls_script' style='display: none'><script> "
    1543                         .html_entity_decode(wp_kses($rfq_product_script,wp_kses_allowed_html( 'post' ))) . '</script></div>';
     1543                    echo "<div class='gpls_script' style='display: none'><script> " .
     1544                        $rfq_product_script. '</script></div>';
    15441545
    15451546
     
    16361637
    16371638
    1638                 echo "<div class='gpls_script' style='display: none'><script> "
    1639                     .html_entity_decode(wp_kses($rfq_product_script,wp_kses_allowed_html( 'post' ))) . '</script></div>';
     1639                echo "<div class='gpls_script' style='display: none'><script> " .
     1640                    $rfq_product_script. '</script></div>';
    16401641
    16411642            }
     
    17071708
    17081709
    1709                         echo "<div class='gpls_script' style='display: none'><script> "
    1710                             .html_entity_decode(wp_kses($rfq_product_script,wp_kses_allowed_html( 'post' ))) . '</script></div>';
     1710                        echo "<div class='gpls_script' style='display: none'><script> " .
     1711                            $rfq_product_script. '</script></div>';
    17111712
    17121713
     
    17611762
    17621763
    1763                         echo "<div class='gpls_script' style='display: none'><script> "
    1764                             .html_entity_decode(wp_kses($rfq_product_script,wp_kses_allowed_html( 'post' ))) . '</script></div>';
     1764                        echo "<div class='gpls_script' style='display: none'><script> " .
     1765                            $rfq_product_script. '</script></div>';
    17651766
    17661767                    }
     
    17891790
    17901791                                echo "<div class='gpls_script' style='display: none'><script> " .
    1791                                     html_entity_decode(wp_kses($rfq_product_script,wp_kses_allowed_html( 'post' ))) . '</script></div>';
     1792                                    $rfq_product_script. '</script></div>';
    17921793
    17931794                                add_action('wp_print_footer_scripts', 'gpls_woo_rfq_print_script_show_single_add', 1000);
  • woo-rfq-for-woocommerce/trunk/readme.txt

    r3194574 r3195108  
    77Requires PHP: 8.2
    88WC tested up to: 9.3.3
    9 Stable tag: 1.9.177
     9Stable tag: 1.9.178
    1010License: GPLv2
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    208208
    209209== Changelog ==
    210 = 1.9.177 11/21/2024 =
    211 fix critical error
     210
     211= 1.9.178 11/22/2024 =
     212add to cart js decoded
    212213
    213214== Upgrade Notice ==
    214 = 1.9.177 11/21/2024 =
    215 fix critical error
    216 
    217 
    218 
     215
     216= 1.9.178 11/22/2024 =
     217add to cart js decoded
     218
     219
  • woo-rfq-for-woocommerce/trunk/woo-rfq-for-woocommerce.php

    r3194574 r3195108  
    33 * Plugin Name: NP Quote Request for WooCommerce
    44 * Description: NP Quote Request for WooCommerce enables your customers to easily submit a quote request to your WooCommerce store. It is very flexible and can be used in a variety of store settings. NP Quote Request for WooCommerce enables you to generate leads and engage with your customers!
    5  * Version: 1.9.177
     5 * Version: 1.9.178
    66 * Contributors: Neah Plugins,gplsaver
    77 * Author: Neah Plugins
     
    14271427
    14281428            echo "<div class='gpls_script' style='display: none'><script> " .
    1429                 html_entity_decode(wp_kses($rfq_product_script,wp_kses_allowed_html( 'post' ))) . '</script></div>';
     1429                $rfq_product_script. '</script></div>';
    14301430
    14311431
     
    14381438
    14391439            echo "<div class='gpls_script' style='display: none'><script> " .
    1440                 html_entity_decode(wp_kses($rfq_product_script2,wp_kses_allowed_html( 'post' ))) . '</script></div>';
     1440                $rfq_product_script. '</script></div>';
    14411441
    14421442
     
    14561456
    14571457                        echo "<div class='gpls_script' style='display: none'><script> " .
    1458                             html_entity_decode(wp_kses($rfq_product_script3,wp_kses_allowed_html( 'post' ))) . '</script></div>';
    1459 
    1460                     }
    1461 
     1458                            $rfq_product_script. '</script></div>';
     1459
     1460                    }
    14621461
    14631462                }
  • woo-rfq-for-woocommerce/trunk/woocommerce/woo-rfq/add-to-quote-single.php

    r3193472 r3195108  
    3737
    3838echo $single_add_to_cart_button;
    39 echo $rfq_product_script;
     39echo   "<div class='gpls_script' style='display: none'><script> " .
     40    $rfq_product_script. '</script></div>';
    4041
    4142
  • woo-rfq-for-woocommerce/trunk/woocommerce/woo-rfq/add-to-quote.php

    r3193472 r3195108  
    3333                       <?php do_action("gpls_rfq_add_to_quote_qty_action",$rfq_id,$gpls_woo_rfq_file_add_to_quote_styles,$product,$request_quote,$data_var,$rfq_check) ?>
    3434                       <?php endif; ?>
    35                         <div style="display:none !important;max-width:20px !important; text-align: center !important;margin-left: auto !important;margin-right:auto  !important" id='image_<?php echo $rfq_id; ?>'><image style="max-width:10px !important"  src="<?php echo gpls_woo_rfq_URL ?>/gpls_assets/img/select2-spinner.gif" /></div>
     35                        <div style="display:none !important;max-width:20px !important; text-align: center !important;margin-left: auto !important;margin-right:auto  !important" id='image_<?php echo $rfq_id; ?>'><image style="max-width:10px !important"  src="<?php echo gpls_woo_rfq_URL ?>/gpls_assets/img/select2-spinner.gif"></image></div>
    3636                        <div id='note_<?php echo $rfq_id; ?>'></div>
    3737
Note: See TracChangeset for help on using the changeset viewer.