Nicola Mustone
c9da4f928a
check if ABSPATH is defined
2015-11-06 10:22:19 +01:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Shiva Poudel
3763c416a9
Docblock for related products
2015-10-09 07:38:15 +05:45
Nicola Mustone
ffc941fcb1
rebase shortcakes category
2015-09-16 09:26:30 +02:00
Nicola Mustone
cc3962cddb
wrong per_page attribute
2015-09-11 10:53:26 +02:00
Ibrahim
6b60616ed3
Update class-wc-shortcodes.php
...
`ob_start` is used which is not required.
2015-08-26 12:08:17 +05:30
Mike Jolley
faa8ab02e0
* Fix - ordering_args in product_category shortcode.
2015-08-11 12:04:30 +01:00
Claudio Sanches
8d2a98eab1
Improved some docblocks
2015-07-16 16:29:01 -03:00
Claudio Sanches
166ec607c0
Escape columns
2015-06-01 13:08:33 +01:00
James Koster
6389e5defa
related products / upsets. closes #7873
2015-05-19 13:07:00 -04:00
Mike Jolley
0a25580f15
Generic product loop method for shortcodes
...
#7260
2015-04-13 12:48:40 +01:00
Mike Jolley
36dc8b0eb8
Merge pull request #7136 from roykho/product-shortcode
...
allow product_page shortcode to accept variation skus and pre-selected o...
2015-03-18 11:17:30 +00:00
Nick Ivanter
a1c9bac225
Allow custom CSS classes to be specified for [product] shortcode
...
This change allows custom CSS classes to be added to the output generated by the [product] shortcode. This is useful, for instance, when embedding a product into a regular post as an advertisement. With custom CSS classes, you can style it to be left or right aligned, floating, etc.
2015-02-24 23:32:35 +03:00
Piotr Szczygiel
ac7348d69d
added 'before' hook as well
2015-02-20 21:32:13 +01:00
Piotr Szczygiel
d7d9395476
Added action hook into product_category shortcode
2015-02-19 21:43:46 +01:00
Mike Jolley
334ee4c108
Fix - [products] ids and sku args.
...
Closes #7365
2015-02-11 17:21:53 +00:00
Mike Jolley
0939cf0e01
Fix product cats notice Closes #7298
2015-02-05 11:36:33 +00:00
Mike Jolley
5bb4b7739f
Fix IDS param Closes #7288
2015-02-04 12:44:30 +00:00
splashingpixels
0b53ceef7a
sanitize user inputs
2015-01-19 09:07:57 -08:00
splashingpixels
3c625f1ad4
support for multiple shortcode on same page when using variation skus
2015-01-19 08:54:28 -08:00
splashingpixels
017e93241e
allow product_page shortcode to accept variation skus and pre-selected on page load ref #5866
2015-01-16 21:01:05 -08:00
Claudio Sanches
389a829474
Fixed meta_query for shortcodes, closes #6960
2014-12-21 13:31:27 -02:00
claudiosmweb
15996a1dee
Created the wc_get_product_id_by_sku() function
2014-11-27 10:31:56 -02:00
claudiosmweb
b4e544e5dc
Fixed coding styles and docblocks
2014-11-20 00:14:06 -02:00
Mike Jolley
8d38401d64
[2.2] Product attribute shortcode should return columns class
...
Fixes #6481
2014-10-08 15:07:03 +01:00
Mike Jolley
1c9331737e
Minor tweaks to cart shortcode
2014-09-24 15:26:53 +01:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
Mike Jolley
63d0283ea3
More efficient #4632
2014-07-31 07:10:07 +01:00
Mike Jolley
54e7ce602f
Merge pull request #4632 from AdvancedStyle/master
...
Multiple categories in the product_category shortcode
2014-07-31 07:05:37 +01:00
Tamara Zuk
5dc1c8cf38
Remove ordering query args
...
If these are not removed right after use they will affect the remaining
queries on the page.
2014-06-09 04:15:46 -04:00
Rob Davarnia
368bd05677
Update class-wc-shortcodes.php
2014-02-28 13:50:50 -08:00
Rob Davarnia
e7ca60b2a2
Ability to add custom quantity using shortcode
2014-02-28 13:43:31 -08:00
Mike Jolley
00fc089abe
Hide empty categories in the product_categories shortcode Closes #4689
2014-02-11 15:55:46 +00:00
David Barnes
14a24377df
Multiple categories in the product_category shortcode
...
Add the ability to input multiple categories separated by a comma in the
[product_category] shortcode.
2014-02-05 08:55:55 +07:00
Mike Jolley
211658a8f4
Fix woocommerce_reset_loop Closes #4443
2014-01-08 13:23:40 +00:00
claudiosmweb
cf756af1d5
fixed some coding standards
2013-12-29 11:54:55 -02:00
claudiosmweb
248e46c8f7
Fixed the indentation in the includes/class-wc-shortcodes.php file
2013-12-29 11:41:48 -02:00
claudiosmweb
37aa0fb53b
fixed the posts_clauses filters in top_rated_products method of the WC_Shortcodes class
2013-12-29 11:40:43 -02:00
Coen Jacobs
1cb8aa1724
Code styling fixes and return values for #4244
2013-11-29 10:15:58 +01:00
Gregory K
43ca01badc
PhpDocs and TODO comments
2013-11-28 12:59:09 -05:00
Mike Jolley
417651d579
Check for valid post type/products when setting up data
2013-11-27 16:03:54 +00:00
Coen Jacobs
19688ad9ef
Fixed several @return void clauses. There are more. No code changes in this commit, only PhpDocs
...
Closes #4216
2013-11-27 10:03:47 +01:00
Coen Jacobs
4afbd0b556
Merge branch 'function-call-refactor'
...
Conflicts:
includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley
b774e84e29
Revert "Replaced templates functions"
...
This reverts commit 4ce301a080
.
2013-11-25 14:16:26 +00:00
Mike Jolley
3408965b8a
Product functions
2013-11-25 14:01:38 +00:00
Mike Jolley
4ce301a080
Replaced templates functions
2013-11-25 14:01:37 +00:00
Coen Jacobs
aaa14894ca
Core functions woocommerce to wc refactor
2013-11-25 13:45:04 +01:00
Scott Basgaard
922fa990a5
esc_attr() all the things.
2013-11-20 20:11:59 +01:00
Coen Jacobs
e41687ba4f
Merge pull request #4138 from woothemes/api-implementation
...
API implementation merge to master
2013-11-19 00:53:11 -08:00