Commit Graph

105 Commits

Author SHA1 Message Date
Brent Shepherd 23418214d0 Trigger do_variation_action + '_ajax_data'
To allow extensions which add their own variation bulk actions to pass
data back to WooCommerce core's handler so that only one ajax call
is necessary for updating the data.

Previously, a duplicate ajax call would be required as trigger() does
not capture the callbacks return value.
2015-07-21 15:41:13 -07:00
Claudio Sanches 5e97a68e3d Fixed calendar when added new variation, closes #8533 2015-07-15 12:26:38 -03:00
Claudio Sanches 8b5fff38e4 Stop alerts when use delete all variations action 2015-07-14 14:08:59 -03:00
Mike Jolley c707f771ad serializeJSON to maintain POST data structure
@claudiosmweb
2015-07-14 13:49:45 +01:00
Claudio Sanches b8a28bdab4 Admin variations - Cancel button reset the default form values
@mikejolley
2015-07-10 20:16:35 -03:00
Mike Jolley 3ec4003bbb Move add variation button and toolbars 2015-07-11 00:04:16 +01:00
Claudio Sanches 8b4711f655 Admin variations - Removed alert when add new variation 2015-07-10 19:30:14 -03:00
Claudio Sanches 441d3c44bb Admin variations - Go to previous page when delete the last variation in a page 2015-07-10 18:57:38 -03:00
Claudio Sanches e0c1cc7784 Admin variations - Turn on save button when add new variation 2015-07-10 18:31:38 -03:00
Claudio Sanches e9fc799f97 Admin variations - Fix product add and save methods
Allow add new variations and stay at the same page
When save will set up the pagination again

@mikejolley
2015-07-10 18:22:05 -03:00
Claudio Sanches 987a789367 Admin variations - Show link all variations bulk action 2015-07-10 00:49:52 -03:00
Claudio Sanches a64695b7f5 Admin variations - Added new triggers and removed data-product_id 2015-07-09 17:31:48 -03:00
Claudio Sanches 1ce7719c98 Save variable defaults via ajax 2015-07-08 22:50:32 -03:00
Claudio Sanches 88c0f61007 Fixed js standards 2015-07-08 22:33:58 -03:00
Mike Jolley a219243e60 Move link all variations to bulk actions 2015-07-08 23:34:21 +01:00
Mike Jolley 8161cbd095 Change remove buttons into links 2015-07-08 23:08:07 +01:00
Claudio Sanches c1f17777a6 Admin variations - Close variations after save #6995 2015-07-08 18:59:51 -03:00
Claudio Sanches 94aa610dc0 Admin variations - Prompt when changing page #6995 2015-07-08 17:45:19 -03:00
Claudio Sanches d8b02456bc Admin variations - Save when main publish/update button is pressed #6995 2015-07-08 17:18:57 -03:00
Claudio Sanches d97a62acdf Admin variations - Hide pagination when not needed #6995 2015-07-08 16:20:30 -03:00
Claudio Sanches 0a820f055f Admin variations - Add cancel changes button #6995 2015-07-08 16:10:45 -03:00
Claudio Sanches 1b672f318a Fixed select2 in variations #6995 2015-07-08 15:31:39 -03:00
Claudio Sanches 4c79ec503e Fixed variations datepicker, closes #8533 2015-07-08 15:23:33 -03:00
Claudio Sanches 4aae7b99be Fixed tooltips load for variations 2015-07-08 15:05:52 -03:00
Claudio Sanches ffef95f56f Fixed ajax variations posted data 2015-07-08 13:55:29 -03:00
Claudio Sanches 3b6b129c9d Fixed current page for both pagenav selects in admin ajax variations 2015-07-07 21:43:34 -03:00
Claudio Sanches 184958a0eb Removed console.log() 2015-07-07 21:24:29 -03:00
Claudio Sanches 381e911603 Fixed the variations ajax navigation 2015-07-07 20:34:54 -03:00
Claudio Sanches 8a30ce037f Improved the admin ajax variations navigation 2015-07-07 20:22:13 -03:00
Claudio Sanches f5ba1f576a Fixed a typo and added changes test before allow to use the bulk edit 2015-07-07 17:48:24 -03:00
Claudio Sanches bbe3cb5b1b Added bulk variation edit for increase and decrease prices 2015-07-07 17:35:21 -03:00
Claudio Sanches 8b681fddf7 Created bulk edit actions for variable sale schedule 2015-07-07 16:39:59 -03:00
Claudio Sanches 268a696918 Initial bulk edit variations actions 2015-07-06 22:50:35 -03:00
Claudio Sanches b819326b2a Created new js classes for variations media and actions 2015-07-06 20:05:09 -03:00
Claudio Sanches de01133142 Save only updated/edited variations and fixed the variations sync and product cache/transients 2015-07-06 19:07:01 -03:00
Claudio Sanches ae18af8cc7 Added method to save variations via ajax 2015-07-06 01:50:20 -03:00
Claudio Sanches 2dc0ef3f86 Added method to set the pagenav fields when add and remove variations 2015-07-06 01:09:36 -03:00
Claudio Sanches 66e4dd84b9 Removed variations drag and drop 2015-07-05 23:58:37 -03:00
Claudio Sanches c3b5ad2337 Refactored the link all variations, remove variation and add variation methods 2015-07-05 23:55:08 -03:00
Claudio Sanches ee437bb646 Improved the navigation and tested if variations have some edition 2015-07-05 22:31:56 -03:00
Claudio Sanches 3de8405cc9 Created variations ajax pagination 2015-07-05 22:00:38 -03:00
Claudio Sanches b16b026647 Load initial variations when click on variations tab 2015-07-05 20:19:45 -03:00
Claudio Sanches 3d59933d6b Created initial methods to load variations by ajax 2015-07-02 17:42:22 -03:00
Shiva Poudel 9afffa0fd7 Tweaks - JSHint fix for product variation meta-box 2015-06-03 21:20:13 +05:45
Claudio Sanches e53a6f5e57 Fixed variation fields when use "Link all variations" button 2015-01-02 15:07:31 -02:00
Mike Jolley 2c1c9896c5 Remove remove_variation and replace with remove_variations 2014-11-27 15:44:51 +00:00
Mike Jolley a0bf72f7b5 Bulk edit sales schedule on variations
Closes #6300
2014-11-17 16:50:25 +00:00
James Koster 30a5c4bfdb bye bye ajax loader gif. 2014-11-13 18:28:15 +00:00
Mike Jolley d17e656061 [2.2] Prevent bulk edit from breaking sale price scheduled dates
Fixes #6474
2014-10-08 15:29:42 +01:00
Mike Jolley ab34f3d771 [2.2] Prevent bulk edit cancel from clearing options.
Fixes #6344
2014-09-24 11:38:13 +01:00
claudiosmweb 25787b0330 removed a console.log() 2014-07-30 16:12:32 -03:00
claudiosmweb 4b04c763f0 fixed the variation manage stock visibility 2014-07-30 15:43:40 -03:00
claudiosmweb a0bd72b9f3 Hide variation stock when manage stock is unchecked
closes #5935

@mikejolley
2014-07-30 15:32:06 -03:00
claudiosmweb d12bce4fce fixed variation bulk edit, closes #5847 2014-07-29 14:28:22 -03:00
Mike Jolley 2282d76efb More UI / Split up meta box scripts 2014-07-08 14:14:29 +01:00