Commit Graph

8597 Commits

Author SHA1 Message Date
Justin Shreve 880dc53ac9 [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products

* Handle PR feedback.
2016-10-24 08:28:56 +01:00
Mike Jolley 49b40ae4bc Price handling 2016-10-20 17:15:03 +01:00
Mike Jolley 52aebdbc0d wc_get_price_to_display 2016-10-20 16:40:17 +01:00
Mike Jolley b13ef43498 get_price_including_tax/excluding_tax functions 2016-10-20 16:32:16 +01:00
Mike Jolley 096d2e4edf missing $this 2016-10-20 15:13:51 +01:00
Mike Jolley b5b7ea48f3 Put back review functions (still todo) 2016-10-20 15:08:49 +01:00
Mike Jolley 9a8681a713 Rename method 2016-10-20 15:07:50 +01:00
Mike Jolley b6deb23e5c Tidy/add todos 2016-10-20 15:06:44 +01:00
Mike Jolley 61a866f8f0 Availability html 2016-10-20 15:02:25 +01:00
Mike Jolley 0520f73a6b Moving and refactoring methods 2016-10-20 12:42:24 +01:00
Mike Jolley 05b0b34c96 Merge pull request #12123 from woocommerce/product-crud-grouped
[Product CRUD] Grouped products
2016-10-19 11:13:23 +01:00
Mike Jolley 2a5a9faa61 Spacing in query 2016-10-19 11:13:08 +01:00
Mike Jolley ad4e99c3e5 Merge pull request #12101 from woocommerce/product-crud-related-products
[Product CRUD] Product crud related products
2016-10-18 19:08:59 +01:00
Mike Jolley 78931220b4 Merge branch 'product-crud' into product-crud-grouped
# Conflicts:
#	tests/framework/helpers/class-wc-helper-product.php
2016-10-18 18:58:08 +01:00
Mike Jolley a8b7ee6929 Grouped product class 2016-10-18 18:38:42 +01:00
Justin Shreve b311caa1bc External Product CRUD 2016-10-18 09:59:02 -07:00
Mike Jolley c2a67803fc Made abstract function useful 2016-10-18 17:13:12 +01:00
Justin Shreve 6e69b0d924 Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function 2016-10-18 07:47:28 -07:00
Justin Shreve fde97df50f Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it. 2016-10-17 13:30:05 -07:00
Mike Jolley 50f21276fc wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
2016-10-17 17:18:57 +01:00
Mike Jolley e6e600ba8a Remove unneeded comments 2016-10-17 17:07:19 +01:00
Mike Jolley 6bf077a367 Sanitize ids later 2016-10-17 17:04:24 +01:00
Claudio Sanches f42d853453 Use count() instead of sizeof() 2016-10-17 13:31:49 -02:00
Claudio Sanches aad06f6642 Fixed wrong variable in wc_get_related_terms 2016-10-17 13:29:12 -02:00
Claudio Sanches c3b6135937 Get cached terms from wc_get_related_terms() 2016-10-17 13:28:52 -02:00
Claudio Sanches 92484d140c Fixed coding standards and improved the docblocks 2016-10-17 13:23:49 -02:00
Mike Jolley 717bb62f19 Merge branch 'product-crud' into product-crud-related-products 2016-10-17 15:57:10 +01:00
Mike Jolley 803709cb94 Add related product functions and deprecate those in class. 2016-10-17 15:57:09 +01:00
Mike Jolley 627beecd42 Missing var 2016-10-17 15:56:16 +01:00
Mike Jolley a74de70dc3 Initial look through getters and setters and abstract data 2016-10-17 14:46:46 +01:00
Mike Jolley 30a164ea67 Hardcode the get_type per product class 2016-10-17 12:22:23 +01:00
Claudio Sanches 60b1361305 Fixed several erros while setting data 2016-10-11 14:53:23 +01:00
Claudio Sanches 42b96346b5 Product set methods 2016-10-11 14:53:23 +01:00
Claudio Sanches 43fd79cfcd First methods for WP_Product crud 2016-10-11 14:53:23 +01:00
Claudio Sanches d627d7f764 Created function to get the catalog visibility options 2016-10-11 14:11:37 +01:00
Mike Jolley 321a72b957 Add missing comma 2016-10-11 11:53:47 +01:00
Mike Jolley 2396c0e18e Fix new zone 2016-10-11 11:53:07 +01:00
Mike Jolley d7f2d29ddc Add row actions back 2016-10-11 11:46:23 +01:00
Mike Jolley 8a510994ef Merge branch 'master' into shipping-zone-ui
# Conflicts:
#	assets/css/admin.css
2016-10-10 18:45:54 +01:00
Mike Jolley 2d270fb405 Fix saving and rest of world 2016-10-10 18:41:07 +01:00
Mike Jolley 160049eddd Remove save button from zones screen. 2016-10-10 17:50:29 +01:00
Mike Jolley 96f05bb49a Add woocommerce_sort_by_subtotal_callback filter
Closes #11973
2016-10-08 13:22:52 +01:00
Mike Jolley 0dc20c3a58 Merge branch 'add/dismiss-store-notice' 2016-10-08 12:48:16 +01:00
Claudio Sanches 3425e82236 Merge pull request #12045 from woocommerce/improve-cc-number-input
Change credit card fields from text to tel
2016-10-08 01:51:16 -03:00
Claudio Sanches a1e2c24c9c Credit card input attribute like Stripe 2016-10-07 17:11:47 -03:00
Claudio Sanches c08aec0680 Only the product name should have quotes #12039 2016-10-07 16:09:28 -03:00
Claudio Sanches 843efae178 Change cc number field from text to tel, closes #12037 2016-10-07 15:53:12 -03:00
James Koster b8150ec49f Make the Store Notice dismissible.
* Adds new-style css classes to store notice
* Adds a ‘dismiss’ link to the store notice
* Hide the notice when the ‘dismiss’ link is clicked and set a cookie
to keep it hidden
2016-10-07 13:41:13 +01:00
Nico Mollet 35537814d8 Fixing syntax errors 2016-10-07 13:56:42 +02:00
Nico Mollet 9147d124a8 Product name in quotes in cart, after being removed
The product name should be in quotes after being removed in cart page.
2016-10-07 11:18:30 +02:00