Tsz Ming WONG
35159c50c8
Add filter to allow override the cache widget id
2014-06-07 00:34:12 +08:00
Mike Jolley
b2ddcf29cf
Set keys for find/replace to prevent duplicate keys
...
Fixes #5168
2014-05-30 10:42:47 +01:00
justinstern
88e82c5640
Check for Existence of Cart Before Using
...
check for the existence of the cart during the is_available() check
before getting the order total (which otherwise will result in a PHP
notice from the admin, etc)
2014-05-23 22:12:15 -04:00
Coen Jacobs
6aa9bcadab
Added product id parameter to related posts filters
2014-05-21 11:35:54 +02:00
Mike Jolley
63fc4262b6
Merge pull request #5418 from tamarazuk/backorders_allowed
...
Introduce woocommerce_product_backorders_allowed filter
2014-05-06 15:09:56 +01:00
Tamara Zuk
651f1ac96f
Introduce woocommerce_product_backorders_allowed filter
2014-05-04 17:29:43 -04:00
bolderelements
fb80f6ba09
Update abstract-wc-shipping-method.php
...
The order is backward so if you use the default 'is_available' function for your extensions, the 'excluding' option will always deny every country because this line returns an empty array.
2014-05-03 15:59:01 -04:00
Mike Jolley
ca9955fa9a
Update stock amounts with DB queries Closes #5367
...
@claudiosmweb and @coenjacobs please review
2014-04-25 15:28:02 +01:00
Mike Jolley
3d8f7963df
Update abstract docblock
2014-04-25 12:33:14 +01:00
Mike Jolley
630eeb4945
Merge pull request #5373 from claudiosmweb/5237-feature-max-transaction-amount
...
Feature maximum transaction amount for payment gateways
2014-04-25 10:20:54 +01:00
Mike Jolley
0e1fcbda64
Abstract product constructor
...
Check for numeric $product, and expand the checking to see if its
passed a post object. Fixes #5341
2014-04-25 10:19:00 +01:00
claudiosmweb
fe467282cd
improved the get_order_total() method
2014-04-24 15:49:41 -03:00
claudiosmweb
4ac0b28537
updated the method to get the order id from "pay for order" page
2014-04-24 14:52:17 -03:00
claudiosmweb
47d14e9df3
updated the WC_Payment_Gateway class to set a maximum transaction amount, closes #5237
2014-04-24 14:39:20 -03:00
Mike Jolley
9c37d83f11
Let get_file get the first file if no ID is defined
...
#5296
2014-04-24 16:00:35 +01:00
Mike Jolley
2a27663f1f
get_image_id method + use in email template
...
Closes #5288
2014-04-08 15:02:11 +01:00
Mike Jolley
34f2170a47
Merge pull request #5198 from claudiosmweb/credit_card_form
...
Becomes possible to translate the credit card form placeholders
2014-03-24 10:47:10 +00:00
claudiosmweb
7ba14b4bd7
becomes possible to translate the credit card form placeholders
2014-03-23 19:51:27 -03:00
bolderelements
4ce392c7f8
Update abstract-wc-email.php
...
wp_mail does return a bool just in case something goes wrong with the function so it might be nice to carry it through. While extending this class I thought it might be a good idea to double check everything I can.
2014-03-23 13:09:01 -04:00
Patrick Rauland
e4296cc5f7
fixing cool typo. see #5189
2014-03-21 16:37:26 -05:00
Coen Jacobs
3617316357
Updated expiry times for transients
2014-03-12 12:58:41 +01:00
Coen Jacobs
03163c54b0
set_transient calls should have expiration to prevent autoloading
2014-03-07 09:29:01 +01:00
splashingpixels
b279487535
get_related fixed tags OR query not excluding product ID
2014-03-04 16:19:12 -08:00
splashingpixels
f66be96f88
get related products added DISTINCT to prevent querying duplicates
2014-02-25 15:17:50 -08:00
Justin Hill
eed9485e6c
Update abstract-wc-product.php
...
Add filter to is_taxable() method so that plugins can better control what is and isn't taxable based on various conditions, such as customer's billing or shipping address, etc.
2014-02-22 13:15:41 -07:00
Mike Jolley
97dd163c5e
Fix ampersands in plan text Closes #4799
2014-02-14 15:37:30 +00:00
Mike Jolley
566a9c4dc6
Set countries as an array by default in the shipping abstract
2014-02-13 11:54:54 +00:00
Mike Jolley
1cafd4f566
Fix to ensure stock status is updated, even when meta is blank. Prevents new products being hidden when the option to hide out of stock products is enabled.
2014-02-12 14:38:56 +00:00
Mike Jolley
fbfdc0ea95
Fix saving of checkboxes (off state) in widgets API
2014-02-12 09:29:47 +00:00
claudiosmweb
617b6b07ae
fixed some coding standards in includes/abstracts/abstract-wc-product.php
2014-02-07 15:35:45 -02:00
claudiosmweb
6758bab16a
fixed the indentation in includes/abstracts/abstract-wc-product.php file
2014-02-07 15:31:25 -02:00
claudiosmweb
35b5614972
fixed docblock for WC_Product::get_children(), closes #4664
2014-02-07 15:31:00 -02:00
Gerhard
435257bc95
Improve credit card form to allow use of the woocommerce_credit_card_form_fields filter
2014-02-06 15:00:00 +02:00
Mike Jolley
39344f2ed5
Allow gateways to change the checkout place order button text on selection. Closes #4573
2014-01-28 11:25:57 +00:00
Mike Jolley
0d52064bd8
Attachments is an array Closes #4531
2014-01-20 15:33:33 +00:00
James Collins
7f497b3fc9
Fix PHP Warning: parse_url() expects parameter 1 to be string, array given in includes/wc-formatting-functions.php on line 41. Fixes #4535 .
2014-01-20 09:21:50 +08:00
Mike Jolley
72f51e7b05
Disabled for checkbox Closes #4387
2014-01-08 13:50:59 +00:00
Aristeides Stathopoulos
c5c340588e
Minor bugfix, missing comma
...
Missing comma causing errors in some cases
2014-01-07 22:14:35 +02:00
Mike Jolley
9154eed860
Merge pull request #4461 from justinstern/master
...
Rename new woocommerce_order_item_quantity filter
2014-01-07 07:37:56 -08:00
justinstern
32d850a76a
woocommerce_stock_amount rather than intval
...
Using woocommerce_stock_amount filter rather than intval cast
2014-01-07 02:13:31 -05:00
PURPORC
d18bff3f5b
Update abstract-wc-email.php
...
Adds a plain text replacement for the dollar sign encoded as html entity.
2014-01-06 18:39:41 +11:00
Mike Jolley
685403dc30
wordwrap #4397
2014-01-03 14:13:18 +00:00
justinstern
e131804d7a
Notice fix and Checkout Shipping Method classes
...
Fixes an admin notice. Adds a single class to the checkout shipping
method elements for convenience in collecting all of them via CSS
selector
2013-12-29 04:31:44 -05:00
Justin Stern
ae91c698f2
Downloadable File Fixes/Tweaks
...
* Hooked up new downloadable product permissions function to
completed/processing actions
* WC_Product::get_files() is used rather than the underlying
_downloadable_files meta directly
* $this is passed to downloadable product filters in WC_Product in place
of $this->id which doesn't does not afford you the particular variation
when a product variation is being used.
2013-12-16 18:27:57 -05:00
Mike Jolley
3bd2d0d456
Credit card form actions - start and end
2013-12-14 12:03:32 +00:00
Mike Jolley
5239bf7b46
get_form_fields method Closes #4275
...
@coenjacobs please review. I believe its cleaner this way.
2013-12-05 15:57:01 +00:00
Coen Jacobs
bcf025694e
Updated docblocks for #4292
2013-12-05 09:36:46 +01:00
Brent Shepherd
f7df434399
Remove $from param on get_price_html_from_text()
...
As it's not used at all.
2013-12-04 17:46:12 -08:00
Mike Jolley
00ff09e3a2
sort sale price
2013-12-04 12:45:23 +00:00
Coen Jacobs
a8444eb567
Fixed faulty double return
2013-12-03 15:11:01 +01:00