[wp-trac] [WordPress Trac] #50078: admin-ajax add to cart

WordPress Trac noreply at wordpress.org
Mon May 4 17:35:20 UTC 2020


#50078: admin-ajax add to cart
--------------------------+------------------------------
 Reporter:  fincahome     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Old description:

> Hello,
>
> I had a problem with adding to the cart which did not work all the time
> on my e-commerce site. I had to call on a developer to correct this bug.
> Adding these lines in admin-ajax solved this problem:
>
> if ( $_REQUEST['action'] == "woocommerce_get_refreshed_fragments" &&
> $_REQUEST['woocs_woocommerce_before_mini_cart'] == "mini_cart_refreshing"
> ) {
>         exit();
> }
>
> Would it be possible to foresee the addition of these lines in your next
> updates please?
>
> Thank you

New description:

 Hello,

 I had a problem with adding to the cart which did not work all the time on
 my e-commerce site. I had to call on a developer to correct this bug.
 Adding these lines in admin-ajax solved this problem:

 {{{
 if ( $_REQUEST['action'] == "woocommerce_get_refreshed_fragments" &&
 $_REQUEST['woocs_woocommerce_before_mini_cart'] == "mini_cart_refreshing"
 ) {
         exit();
 }
 }}}

 Would it be possible to foresee the addition of these lines in your next
 updates please?

 Thank you

--

Comment (by Otto42):

 Hello, fincahome. Thank you for the ticket.

 This trac is for reporting issues with the WordPress software. You are
 referencing a plugin called WooCommerce, which while very popular, is not
 part of the WordPress software.

 If you're having issues with that, you should bring it up on their Support
 Forums, or bring it up to the developers of that add-on directly:

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50078#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list