Commit Graph

88 Commits

Author SHA1 Message Date
Mike Jolley aec0e0e327 supports() method which mirrors gateways
Closes #9471
2015-11-02 11:23:50 +00:00
Kathy Darling 856d192bff Use generic `ajax_add_to_cart` class for adding items in the loop to the cart via ajax. 2015-10-30 12:54:49 -05:00
Caleb Burks ee2757c08f Specific template override paths 2015-10-03 02:58:08 -05:00
James Koster 2c00927c0b Remove the product loop title template
Provides consistency with the product category template. This template
was really too simple to require it’s own file. It can be plugged or
unhooked to edit.
2015-10-01 17:58:33 +01:00
James Koster fe689d3d24 Let's not create template files for such simple code. #8575
Also removes pluggability of code that simply shouldn’t have any need
to be overwritten.
2015-10-01 15:20:05 +01:00
Mike Jolley de4a80f950 Add disclaimer to template files
Closes #8942
2015-10-01 16:07:35 +02:00
James Koster 02ddb7fc4d product archive anchors are now hooked into templates rather than hard coded. #8575 2015-10-01 14:49:40 +01:00
Claudio Sanches f0b3d2fd9b Code tweaks for #8620 2015-07-20 14:36:12 -03:00
Jodi Warren 2d63d4fc94 fix version number 2015-07-20 18:12:41 +01:00
Jodi Warren 2fb5f5bf78 Change product title to a hooked function. Fixes #8601 2015-07-20 18:10:56 +01:00
Mike Jolley 7f2a6b5e41 Fix pagination by preventing old query args from being re-added to the link
Fixes #7164
2015-01-20 09:43:56 +00:00
splashingpixels 08703842ee fixes the encoding issue with pagination on default permalinks setting closes #7011 2015-01-01 14:15:47 -08:00
Mike Jolley 1c51ff6ec4 get_pagenum_link is wrapped in an escape
Closes #6407
2014-10-03 16:54:56 +01:00
shivapoudel fbf0314bb6 Absolute path should have curly braces - part 1 2014-09-22 22:16:03 +05:45
Mike Jolley 22788e505d Encoding of pagination link when using default permalinks.
Fixes #6220
2014-09-11 15:00:44 +01:00
Geert De Deckere 24d588544b Removed unused global $woocommerce variable from the templates
The WC() function is to be used since v2.1
2014-08-17 22:29:51 +02:00
Mike Jolley b72d33f563 Move orderby logic out of template file
cc @jameskoster @claudiosmweb
2014-07-30 17:23:28 +01:00
Mike Jolley cab8f8c9dd Only show default ordering option when relevant
Closes #5893
2014-07-30 17:23:28 +01:00
Mike Jolley 39469b89d7 Fix pagination when add-to-cart is in the URL
Fixes #5857
2014-07-30 10:35:52 +01:00
Nicola Mustone 9d2b70942d Using – for compatibility 2014-06-13 15:36:36 +02:00
Nicola Mustone abd7b2a989 Wrong non ASCII content
Issue with PoEdit translating content on line 32 due to non-ASCII content.
2014-06-13 12:47:51 +02:00
Mike Jolley b04ca15952 Only add add_to_cart_button if purchasable and in stock
Fixes #5132
2014-06-03 14:35:42 +01:00
Mike Jolley 5e769e65e7 Merge pull request #4996 from robdvr/master
Ability to add custom quantity using shortcode
2014-05-22 10:16:20 +01:00
splashingpixels 1e998f776e template coding standard fixes 2014-04-07 19:29:39 -07:00
splashingpixels bbde465924 orderby - skip adding hidden input of submit on a GET so JS can submit properly fixes #5221 2014-03-27 09:37:56 -07:00
Rob Davarnia e3116a4a2b Update add-to-cart.php 2014-02-28 15:42:14 -08:00
Rob Davarnia e7ca60b2a2 Ability to add custom quantity using shortcode 2014-02-28 13:43:31 -08:00
splashingpixels 454b97080a coding standards fixes 2014-01-22 20:36:24 -08:00
splashingpixels b16d5195c8 coding standards fixes 2014-01-14 21:53:37 -08:00
justinstern e96a6ae3f3 Fix Non-Purchasable Simple Product in Product Loop
add_to_cart_button class is only applied if the product is purchasable
2014-01-09 21:38:05 -05:00
Mike Jolley 1f7c249429 Grammar of no products found message Closes #4217 2013-11-27 15:14:47 +00:00
Mike Jolley b774e84e29 Revert "Replaced templates functions"
This reverts commit 4ce301a080.
2013-11-25 14:16:26 +00:00
Mike Jolley 4ce301a080 Replaced templates functions 2013-11-25 14:01:37 +00:00
Mike Jolley ef49977905 add_to_cart_url add_to_cart_text and single_add_to_cart_text class methods allowing greater control with custom classes.
Closes #3484 and Closes #3143. Pinging @thenbrent as the handler was
originally his idea and I've killed it.

@helgatheviking In 2.1, add to cart URLs will only be used in loops, so
conditonal logic should no longer be neccessary. Single templates post
to themselves without the need for the URL.
2013-09-25 12:35:06 +01:00
ninnypants bae61b8e1a Fix result count display when posts_per_page is set to -1
When your posts_per_page is set to -1 the display is output as `Showing 1–-1 of 15 results` when displaying all items when it would be better to show `Showing all 15 results`
2013-08-06 16:06:18 -06:00
Joris van der Wel a028cbe1be Fix for issue 2736.
Arrays in query strings are now preserved. For example ?cat[]=5&cat[]=10&cat[]=20
2013-03-16 16:05:11 +01:00
Brent Shepherd 4edd972644 Use handler for add-to-cart button text also
Related to SHA: bd78ca6
2013-03-01 14:52:04 +10:00
James Koster 90d7e20d6e no products found class
left loop-shop as it's deprecated
2013-02-16 19:41:23 +00:00
Mike Jolley 18ab00d10d escape for #2441 2013-02-14 16:50:45 +00:00
yitzchak 2086c66d22 Update templates/loop/add-to-cart.php
Added data-product_sku attribute to allow SKU tracking in analytics from shop loop.
2013-02-13 14:29:33 -05:00
Mike Jolley 30e6beb861 Fix buttons and externals. Closes #2437. 2013-02-13 09:29:00 +00:00
Mike Jolley be254db6f9 no products found 2013-02-10 23:01:09 +00:00
Mike Jolley 55d2237d9f Rename sorting template 2013-02-10 17:32:45 +00:00
James Koster 0fdf9032ec Revert "loop ratings an option"
This reverts commit a23fde9491.
2013-01-12 15:55:52 +00:00
Mike Jolley 813f8b8c2e Merge pull request #2221 from GeertDD/sorting-optimization
Small optimization for showing the sorting selection
2013-01-12 07:21:07 -08:00
Mike Jolley b0d22c079b Merge pull request #2220 from GeertDD/sorting
Simplified code for keeping query string vars intact
2013-01-12 07:20:53 -08:00
Geert De Deckere 74b3f4d032 Small optimization for showing the sorting selection 2013-01-12 16:12:17 +01:00
Geert De Deckere 601ca30600 Simplified code for keeping query string vars intact 2013-01-12 16:08:23 +01:00
James Koster a23fde9491 loop ratings an option 2013-01-12 14:24:22 +00:00
Mike Jolley 624e8fb59a maintain vars when sorting 2013-01-12 12:24:24 +00:00