Commit Graph

142 Commits

Author SHA1 Message Date
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
Mike Jolley 261f413405 Ratings in loops for sort by rating 2013-01-12 10:53:24 +00:00
Mike Jolley 0caca2d401 GET vars for sorting (to work better with cache) 2013-01-12 10:53:08 +00:00
Coen Jacobs f9a0eddbbf found_posts always contains total queried posts. Closes #2136
So no need to check for post_count or is_paged() function.
2013-01-10 12:07:00 +01:00
Mike Jolley 75e1d6a665 sorting is_paged #2136 2013-01-07 16:02:07 +00:00
Mike Jolley e48e280c7a post count check #2136 2013-01-07 14:17:41 +00:00
James Koster 5302eb019f css class name consistency #2086 2013-01-03 11:40:10 +00:00
Justin Stern 1bd820369c Loop 'add to cart' link customizable
added apply_filters to loop 'add to cart' link/button
2012-12-31 17:13:19 -05:00
Geert De Deckere a0b8ee16c5 Improved the result-count template
- Coding style: mid-line indenting which should be done using spaces.
- Renamed `$max` to `$total`.
- Simplified calculation of `$last`.
- Using en dash between range of values: http://en.wikipedia.org/wiki/Dash#Ranges_of_values.
- Tweaks to the “Showing 1–10 of 12 results” result text:
  - Converted `%s` to `%d`.
  - Used numbered placeholders (like `%1$d` and `%2$d`) which allows for more flexible translations since the placeholders can be swapped and repeated now.
  - Used `_x()` with comment to clarify placeholder order.
- Added two additional texts:
  - One for showing the only single result because “Showing 1–1 of 1 results” is overly verbose.
  - One for when all results are shown on the same page because “Showing 1–8 of 8 results” is a bit too verbose too.
2012-12-25 10:17:15 +01:00
Coen Jacobs 37feabd87f WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Mike Jolley 75ca794bba Separate classes per product type, with new get_product function and hooks to change the classes which get loaded. #1497 2012-11-21 18:07:45 +00:00
Coen Jacobs 80fc5fc086 [3.2.3] Templates XSS #1575 2012-10-16 17:35:16 +02:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
Mike Jolley 596c408c27 Pagination + sorting tweaks, new active filters widget, sort both directions for price, fix for #coenfail. Closes #771. 2012-10-14 13:06:41 +01:00
Mike Jolley 2a30cfda0e loop start and end. Closes #1356. 2012-09-30 14:41:07 +01:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01:00
Mike Jolley ef7ec98f2e templates 2012-08-14 23:43:54 +01:00
Mike Jolley 7c69f3a431 Fix - Missing grouped product cart buttons 2012-08-11 16:41:28 +01:00
kathy f2415b3761 switch get_price() checks to is_purchasable() for displaying Add to Cart button 2012-08-06 19:27:24 -05:00
Mike Jolley cedcca7fe7 is_purchasable. Closes #1331. 2012-08-07 00:33:52 +01:00
Mike Jolley a322a83a7d analytics tracking 2012-07-30 16:01:33 +01:00
Mike Jolley 183a3e096d Hooks. Closes #1224. 2012-07-10 15:39:54 +01:00
Mike Jolley 7bcb3deb62 small markup tweaks 2012-05-26 15:18:44 +01:00
Mike Jolley 2cac2f9d68 Drag and drop ordering for products. Closes #95. Closes #995. 2012-05-08 20:30:18 +01:00
Mike Jolley 6f17cd4d4e nofollow cart buttons 2012-04-11 21:21:40 +01:00
Mike Jolley e19f46c79d Add new terms + printf vs echo sprintf Closes #138. 2012-04-09 00:57:38 +01:00
Mike Jolley 316ed9901a use product id in loop instead of $post global 2012-02-17 21:08:56 +00:00
Mike Jolley 00b3266765 Dumped Get 2012-02-15 20:27:40 +00:00
Mike Jolley 576ec9e42d Front page look fixes 2012-02-10 22:15:29 +00:00
Mike Jolley 35fadb00fe More consistent template file naming, broken checkout into templates 2012-01-29 13:36:33 +00:00
Mike Jolley 48d1fac0d4 Support GET for ordering. Closes #269. 2012-01-07 17:36:32 +00:00
Mike Jolley f74e041a30 Renamed textdomain Closes #444. 2012-01-05 11:31:22 +00:00
Mike Jolley 3cfe43a80e Templates 2011-12-12 11:35:54 +00:00
Mike Jolley f211aac406 More templates 2011-12-11 23:16:34 +00:00
Mike Jolley 35d1d56329 Made product global, setup automatically, and removed the need to call the class directly in the loop
Themes need checking for compat, but the change makes it easier to use
2011-12-11 14:40:25 +00:00
Mike Jolley 58572bf97e Sorting 2011-12-11 01:10:24 +00:00
Mike Jolley d4452dcb18 Template files 2011-12-11 01:08:33 +00:00