Commit Graph

26099 Commits

Author SHA1 Message Date
Mike Jolley d309ae9332 breadcrumb microdata. #1228. 2012-07-10 17:18:42 +01:00
Mike Jolley 1910f4a4f7 Coupon usage counts on cancell. Closes #1210. 2012-07-10 16:52:52 +01:00
Manos Psychogyiopoulos 53ce5d5ede chmod 2012-07-10 18:52:23 +03:00
Manos Psychogyiopoulos 2faa412686 Conflict 2012-07-10 18:46:09 +03:00
Manos Psychogyiopoulos 250604f267 PK 2012-07-10 18:43:19 +03:00
Mike Jolley 183a3e096d Hooks. Closes #1224. 2012-07-10 15:39:54 +01:00
Coen Jacobs 54c6b044bc Filter on add to cart url
@mikejolley please review
2012-07-10 16:09:55 +02:00
Mike Jolley 076a2067cf notices, links don't make sense when we can show multiple items. 2012-07-10 14:29:25 +01:00
Mike Jolley 746a794f0a Check taxonomies exist. Closes #1207. 2012-07-10 14:05:44 +01:00
Mike Jolley 75aab618ea Prevent double join 2012-07-10 13:51:27 +01:00
Mike Jolley af549be954 Tweak locales. Closes #1194. 2012-07-10 13:36:13 +01:00
Manos Psychogyiopoulos 7eb80ed0a2 Merge branch 'master' of git://github.com/woothemes/woocommerce 2012-07-09 23:37:36 +03:00
Mike Jolley d6183d7853 IPN check. Closes #1215. 2012-07-09 18:12:24 +01:00
Mike Jolley 47b51a4ffb Tweak to #1222. Closes #1218. 2012-07-09 17:50:21 +01:00
Mike Jolley fc5dcf006f Merge pull request #1229 from alepane21/patch-1
Updated languages/woocommerce-it_IT.po (just one row)
2012-07-09 09:35:33 -07:00
Coen Jacobs 52fd982547 Colombia zipcodes are not required 2012-07-09 16:46:51 +02:00
Alessandro Pagnin b20544fd9a Updated languages/woocommerce-it_IT.po (just one row) 2012-07-07 19:48:11 +03:00
Manos Psychogyiopoulos 73214c421d add_to_cart filter added in loop/add-to-cart.php
Needed by Product Bundles extension to avoid overriding this file.
Finally, no templates files are overridden.
2012-07-06 15:29:12 +03:00
Manos Psychogyiopoulos 3d02d1a238 Revert "WC_Cart: Uncouple add_to_cart checks from add_to_cart function."
This reverts commit 41a5b1f3e7.
2012-07-06 15:25:48 +03:00
Manos Psychogyiopoulos 7a5ff38af7 Revert "add_to_cart_url filter added in loop/add-to-cart.php"
This reverts commit 174ccfadd2.
2012-07-06 15:25:48 +03:00
Manos Psychogyiopoulos cb73f90b57 Revert "Put changed file back in place. Sorry about that."
This reverts commit 98f945a58f.
2012-07-06 15:25:48 +03:00
Manos Psychogyiopoulos 98f945a58f Put changed file back in place. Sorry about that. 2012-07-06 15:24:45 +03:00
Manos Psychogyiopoulos 174ccfadd2 add_to_cart_url filter added in loop/add-to-cart.php
Needed by Product Bundles to get rid of the last template file override.
2012-07-06 15:21:20 +03:00
Manos Psychogyiopoulos 41a5b1f3e7 WC_Cart: Uncouple add_to_cart checks from add_to_cart function.
This is a rough proposal - basically food for thought. The supplied
code has NOT been tested.

In some cases, we may need to do the checking part on multiple products
before giving permission to actually add them all to the cart. The
reason is that if any product check fails (e.g., out of stock), then no
product should be added to the cart and a product-specific error
message should be returned, like so: "Product X: The product is out of
stock", instead of a vague "The product is out of stock". This is esp
useful for Product Bundles, which at the moment handles this by reusing
parts of existing code.

Things would be more elegant if an add_to_cart_check function existed.
I am not sure if the add_to_cart_check call should exist within
add_to_cart, or if there should be 2 separate calls, one for
add_to_cart_check and one for add_to_cart, throughout the core codebase.

The supplied woocommerce_add_to_cart_error_message filters would be
useful for manipulating the messages to include product-specific info.

Finally, the woocommerce_add_to_cart_…_halt filters would be useful in
cases where these checks should not return false. I can image some
cases, esp related to bundling.

Note - This is not required for 'Product Bundles' to work, but it's
always a good idea to make the core code a bit more flexible.
2012-07-01 18:34:19 +03:00
Mike Jolley d8a969610f get_title() Closes #1204
Like the gateways now have.
2012-06-30 00:20:07 +01:00
Mike Jolley 058c3ed9d4 revert class 2012-06-29 22:14:40 +01:00
Mike Jolley b0e59cb26d Back to page 1. Closes #1186. 2012-06-29 21:18:22 +01:00
Mike Jolley cbfed071c3 When placing an order again, clear current cart. Closes #1189. 2012-06-29 20:49:27 +01:00
Mike Jolley 58f84bb2c1 incl. Closes #1184. 2012-06-29 20:45:09 +01:00
Mike Jolley 2d8981c0fb Out of stock tweaks. #1191. 2012-06-29 20:40:18 +01:00
Mike Jolley b8daf0bfd8 oz support. Closes #1190. 2012-06-29 20:24:43 +01:00
Mike Jolley a31e629ebb Order count clear transient on delete. Closes #1187. 2012-06-29 20:06:40 +01:00
Mike Jolley d85de187f9 Variable product hooks. Closes #1201. 2012-06-29 19:52:06 +01:00
Mike Jolley 3cc8f41b90 get_icon get_title get_description for #1201 2012-06-29 19:44:33 +01:00
Mike Jolley f2f847ad5b Tweaks to #1180. And get_image confusion resolved (it shouldn't echo) 2012-06-29 18:56:42 +01:00
Mike Jolley 9daae31865 readme 2012-06-29 18:10:55 +01:00
Mike Jolley 127a981f99 Merge pull request #1180 from franticpsyx/master
Disable cart hyperlinks of hidden products & minor cart widget tweak.
2012-06-29 10:10:37 -07:00
Mike Jolley fded81c26b Merge pull request #1197 from katzwebservices/master
Allow for more informed email filtering
2012-06-29 10:06:26 -07:00
Mike Jolley 491c02b35d Tweaks to previous merge 2012-06-29 17:51:15 +01:00
Mike Jolley 9b73be6eb1 Merge pull request #1202 from CodeRepublic/master
Modify WC_Product::get_image() for return
2012-06-29 09:48:08 -07:00
Mike Jolley 124f6fc47f Merge pull request #1200 from jonzon/patch-1
Update master
2012-06-29 09:45:14 -07:00
Mike Jolley cd35f60011 Windows CRT fix 2012-06-29 17:38:00 +01:00
Mike Jolley 96a522bc82 template_redirect 2012-06-29 16:38:00 +01:00
Manos Psychogyiopoulos 123d04f0e5 More meaningful code. 2012-06-29 18:16:43 +03:00
matt 2b54280999 Modify WC_Product::get_image() for return
Function currently only echos. Commit enables function to return product
image. WCP+A replaces the product thumbnail with photo preview
thumbnail. Original function showed two thumbnails directly next to each
other.
2012-06-29 11:08:50 -04:00
jonzon db156ffa30 Update master 2012-06-29 13:39:22 +03:00
Mike Jolley de83aac565 is_front_page workaround. @coenjacobs review please 2012-06-29 10:23:21 +01:00
Manos Psychogyiopoulos 3e97cc3ef1 Disable cart hyperlinks for hidden products. 2012-06-28 18:41:18 +03:00
Manos Psychogyiopoulos ea409a4310 Pull 2012-06-28 18:34:04 +03:00
Manos Psychogyiopoulos c944f190b9 Merge branch 'master' of git://github.com/woothemes/woocommerce 2012-06-28 18:33:06 +03:00