Commit Graph

31049 Commits

Author SHA1 Message Date
Mike Jolley be05eea5da phpcs all the things 2019-02-15 17:09:45 +00:00
Mike Jolley 3d8c58e110 status_widget_stock_rows lookups 2019-02-15 13:37:51 +00:00
Mike Jolley 35d2161fa9 Stock lookup 2019-02-15 13:05:46 +00:00
Mike Jolley 3309276e82 Renamed table to wc_product_meta_lookup 2019-02-15 12:37:45 +00:00
Mike Jolley 519b29d734 Tests 2019-02-15 12:25:04 +00:00
Mike Jolley 08e8c76eab Update tests 2019-02-15 12:16:59 +00:00
Mike Jolley 048f33935c fix method name 2019-02-15 11:50:26 +00:00
Andrew Lazarus 07a8183f2a
Hard coded class now filterable
Ability to add library classes to price instead of overwriting template
2019-02-15 09:49:29 +01:00
haszari bf9f14c0b6 ajax api for dismissing specific marketplace suggestions (first cut) 2019-02-15 14:52:24 +13:00
haszari 9a7a9ad045 update styling of products table suggestion + add dismiss button 2019-02-15 13:30:53 +13:00
haszari 5737a1a388 pull suggestion data from (proposed) S3 endpoint:
- leave hard-coded data in place until endpoint is available
2019-02-15 12:04:12 +13:00
Peter Fabian 6e24b85c6b Put back status parameter after extra processing.
This allows correct further processing of $request, e.g. for next/previous links, etc.
2019-02-14 17:03:53 +01:00
Mike Jolley 46d5a4c596 Revert debug code 2019-02-14 15:58:53 +00:00
Mike Jolley 2a0ba812a3 Check for decoded taxonomy name when unsetting 2019-02-14 15:58:12 +00:00
Mike Jolley c62c1e1d05 Fix save logic by moving setter into loop grabbing the value
Broken by https://github.com/woocommerce/woocommerce/pull/22650 phpcs changes
2019-02-14 15:22:36 +00:00
Mike Jolley 8c2e305823 phpcs 2019-02-14 15:05:56 +00:00
Mike Jolley 621229b894 Variations cannot be drafts - set to private. 2019-02-14 15:05:10 +00:00
Mike Jolley 39d9e4bd6f If date paid is not set but payment complete status has passed, set it anyway Ref: #22688 2019-02-14 14:45:26 +00:00
Renovate Bot 0b07779e60
Update dependency lint-staged to v8.1.4 2019-02-14 11:27:01 +00:00
haszari 4ad413ea83 move hard-coded suggestion data to woo API (WCCOM api coming soon) 2019-02-14 15:47:32 +13:00
haszari 1fdc013525 products blank state - OBW style suggestions (missed in previous commit) 2019-02-14 15:44:28 +13:00
haszari 64c71cb724 fill out products empty state suggestions:
- add back product suggestions data
- hide page admin elements, focus layout on onboarding
- bulk-fix indentation in admin.scss
- reinstate default BlankState styling (overrides are intended for products only, accidentally overwrote)
2019-02-14 14:05:07 +13:00
haszari 8db91f44c0 styling products empty state OBW style, including existing add/import + suggestions 2019-02-14 12:16:59 +13:00
haszari c9f9d01f4b ensure list suggestions render correctly with optional url/copy attributes 2019-02-14 11:21:58 +13:00
haszari aa31d6f708 use attributes + DOM (not html snippet) for products empty state suggestions 2019-02-14 11:16:39 +13:00
haszari 9388b033fc use attributes & DOM api for table row banner render - html snippet is too flexible/risky 2019-02-14 10:53:25 +13:00
Mike Jolley 84299ff5ed Update the tests 2019-02-13 17:56:41 +00:00
Mike Jolley 588b5903f7 Ignore old pre-crud actions 2019-02-13 17:55:47 +00:00
Mike Jolley 13612ef3f1 Update CRUD update hook based on status transition 2019-02-13 17:55:30 +00:00
Mike Jolley ae17d6f3bd Avoid handling wc-auto-draft
WC was erroneously adding wc- prefix to the core WP auto-draft status.

#22380 registered it formally but we don't need it.

I've reverted #22380 and handled the prefix correctly.
2019-02-13 17:52:28 +00:00
Mike Jolley 311449e943 Create is_valid_resource method to check for invalid statuses 2019-02-13 16:46:49 +00:00
Mike Jolley cf0e9f925c Refactor should_deliver logic into managable chunks 2019-02-13 16:20:09 +00:00
Mike Jolley d0abd6f09b Check for _reduced_stock meta when restocking refunded items 2019-02-13 15:05:20 +00:00
Mike Jolley 377d79e175 Merge branch 'fix/21830' 2019-02-13 14:45:00 +00:00
Mike Jolley c733e8dd5d Readme updates 2019-02-13 14:42:18 +00:00
Mike Jolley fb5f9c1ecb
Merge pull request #22690 from Tofandel/patch-1
The "for" attribute of a label for a radio input is invalid
2019-02-13 14:40:52 +00:00
Mike Jolley 895948021c
Merge pull request #22717 from yratof/yratof-patch-1
Added filter for product title classes within product loop
2019-02-13 14:34:18 +00:00
Mike Jolley fe853e5d02
Merge pull request #22672 from Chouby/update_stock_filter
Allow to filter the direct sql query to update the product stock
2019-02-13 14:32:43 +00:00
Mike Jolley 2abf39c6ae
Merge pull request #22704 from woocommerce/fix/22696
Custom payment sections not loading fields due to logic error.
2019-02-13 14:22:39 +00:00
Mike Jolley 569a41e58b
Merge pull request #22711 from woocommerce/fix/22656
Calculation issues on single product sales by product graph/report
2019-02-13 14:17:29 +00:00
Mike Jolley 56265f3de4
Merge pull request #22683 from woocommerce/fix/22679
Add aria label for shop orderby selector
2019-02-13 14:12:02 +00:00
Mike Jolley 595715b882
Merge pull request #22705 from woocommerce/fix/22699
Archive breadcrubs should use plural name not singular
2019-02-13 14:08:59 +00:00
Andrew Lazarus 11c16f35ab
Updated product loop title filter with esc_attr() 2019-02-13 15:07:07 +01:00
Mike Jolley 1451f6101d
Merge pull request #22721 from woocommerce/fix/webhooks-payload
Load REST API endpoints before generate webhook payload
2019-02-13 13:59:55 +00:00
Mike Jolley 1bf25a24f5
Merge pull request #22722 from woocommerce/fix/22500
Fix special chars on webhook secret
2019-02-13 13:57:55 +00:00
haszari 165a462fa2 style marketplace suggestions list banner 2019-02-13 14:49:28 +13:00
haszari e7adedb262 fix issue with footer overlapping empty products layout - hide footer 2019-02-13 14:35:56 +13:00
haszari c615fd6549 style marketplace suggestions 2019-02-13 14:32:36 +13:00
haszari aca9930b4b style marketplace cards grid in empty products screen 2019-02-13 13:54:05 +13:00
haszari 429908158e remove use of ES6 features in marketplace suggestions (const, =>) 2019-02-13 13:34:25 +13:00