1235 pointsLike some sort of WPMU DEV God"Mindblowingly helpful memberLifetime member
Chris
Lifetime Member
—
6th September 2011 (8 months ago)
Hey guys.
Been loving the Grid plugin built by Nick a couple of months back, so apologies to Nick if I’m treading on his toes here, but I thought I’d try and sort out a couple of bugs in the plugin: I think some of them have come due to changes in the code for MarketPress since you made the plugin, rather than errors on your part!
CHANGELOG
Can display by price order in ascending/descending fashion using shortcode.
Hoping to fix the pagination problems next...
INSTRUCTIONS
Install the plugin by uploading the zip file, or by extracting it and putting it in the /wp-content/plugins/ folder.
Activate the plugin (you need MarketPress activated as well, obviously).
Use it in exactly the same way as the [mp_list_products] with optional attributes below:
“paginate” – Whether to paginate the product list. This is useful to only show a subset.
“page” – The page number to display in the product list if “paginate” is set to true.
“per_page” – How many products to display in the product list if “paginate” is set to true.
“order_by” – What field to order products by. Can be: title, date, ID, author, price, sales, rand (random).
“order” – Direction to order products by. Can be: DESC, ASC
“category” – Limits list to a specific product category. Use the category Slug
“tag” – Limits list to a specific product tag. Use the tag Slug
Example: [mp_product_grid paginate="true" page="1" per_page="10" order_by="price" order="DESC" category="downloads"]
Hope this helps guys, points appreciated for both Nick and myself!
1235 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Lifetime Member
—
6th September 2011 (8 months ago)
#
Hey guys.
Been loving the Grid plugin built by Nick a couple of months back, so apologies to Nick if I’m treading on his toes here, but I thought I’d try and sort out a couple of bugs in the plugin: I think some of them have come due to changes in the code for MarketPress since you made the plugin, rather than errors on your part!
CHANGELOG
Can display by price order in ascending/descending fashion using shortcode.
Hoping to fix the pagination problems next...
INSTRUCTIONS
Install the plugin by uploading the zip file, or by extracting it and putting it in the /wp-content/plugins/ folder.
Activate the plugin (you need MarketPress activated as well, obviously).
Use it in exactly the same way as the [mp_list_products] with optional attributes below:
“paginate” – Whether to paginate the product list. This is useful to only show a subset.
“page” – The page number to display in the product list if “paginate” is set to true.
“per_page” – How many products to display in the product list if “paginate” is set to true.
“order_by” – What field to order products by. Can be: title, date, ID, author, price, sales, rand (random).
“order” – Direction to order products by. Can be: DESC, ASC
“category” – Limits list to a specific product category. Use the category Slug
“tag” – Limits list to a specific product tag. Use the tag Slug
Example: [mp_product_grid paginate="true" page="1" per_page="10" order_by="price" order="DESC" category="downloads"]
Hope this helps guys, points appreciated for both Nick and myself!
9603 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Sales & Support Pro
—
6th September 2011 (8 months ago)
#
Hi Chris,
Kudos for taking the time out to work on this! Haven't tested myself yet but will do when I get chance.
Folks, if you use this do remember to send some points!
Chris & Nick: It'd be great for you two to liaise over using something like Git or Subversion to merge your changes and maintain one codebase.
Much easier for folks to keep updated then too. You might wanna put this on WordPress.org too (presumably it'll work with the free version of MP too) enabling automatic updates into the future....
Thanks for taking this on. And yes, let's put it up on WP.org! Please make sure to include both of us as plugin authors.
so apologies to Nick if I’m treading on his toes
Don't worry about treading on my toes -- no ego here. ;) Just trying to make MP a better product for everyone whilst keeping up with my other clients.
One question though about the plugin -- and this may require Aaron's input -- is whether it is really even necessary.
See, the only real difference between [mp_product_grid] and [mp_list_products] is that I've removed the "product description" field (excerpt) and set the CSS to make the products appear like a grid.
It seems that this could EASILY be built into the existing code by adding an additional attribute, like this:
@Chris--
Incidentally, I'm working on a featured product scroller shortcode for MP now -- something like what you see in this theme. Would you be interested in collaborating on that?
1235 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Lifetime Member
—
6th September 2011 (8 months ago)
#
@Nick dude, thanks for the points! I only need another 170 given to me, and I've got my free membership!
Very up for another plugin. Where are you up to so far? The jqueryness looks fun. We could put something on git...? I must say, my understanding of VCS is poor, but I'm keen to learn...
@Aaron despite having just made a new version of this plugin, I would agree that this would be sleeker, and likely result in less people coming on the forum saying "How do I put all the products in a grid"?
Thanks so much for moving this along. It's great to have the Grid plugin attributes work properly now!
And Nick: A featured product scroller is a terrific idea. Hats off to you and Chris if you can get it up and running. Please keep us posted here on the forum.
Wasn't able to download the plugin from the website at the link above. Chrome kept reporting that the download was interrupted.... Any way of attaching it to a post in this thread?
1235 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Lifetime Member
—
9th September 2011 (8 months ago)
#
Ah damn, my stupid web hosts are basically out to ruin my life!
On my phone now, but I'll get it back online tomorrow. If you wanna email me at bigonroad@gmail.com, ill chuck you an email with it in as soon as I get to my PC.
Sorry about this mate!
In other news: I can thoroughly unrecommend Eukhost.com for their appalling service. Nothing but problems, with apparently computer illiterate support staff!
Got a mate to try it, says it works. Might be whatever moronic changes my hosts made hasn't filtered through to your bit of the web yet - if so, email me and ill send it to you!
1438 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Lifetime Member
—
19th September 2011 (8 months ago)
#
That is great Chris ;)
Use the contact form and link to your rep points and you'll log in one morning and see lifetime member under your name. Very Cool ;)
Hi All,
does this plugin orek for multisites? I have installed it and activated it on the network, but it does not seem to work. I have also tried listing the products on the home page with [mp_list_global_products display="grid"] This will list my global products but not in grid format :(
@wecreateyou: it is not. The grid shortcode doesn't display the product's content. Of course I could use the normal product listing short code and the hide the content via css but still...
Responses (27)
Sales & Support Pro — 6th September 2011 (8 months ago) #
Hi Chris,
Kudos for taking the time out to work on this! Haven't tested myself yet but will do when I get chance.
Folks, if you use this do remember to send some points!
Chris & Nick: It'd be great for you two to liaise over using something like Git or Subversion to merge your changes and maintain one codebase.
Much easier for folks to keep updated then too. You might wanna put this on WordPress.org too (presumably it'll work with the free version of MP too) enabling automatic updates into the future....
Cheers,
Phil
Lifetime Member — 6th September 2011 (8 months ago) #
Yeh, happy too, was planning to put it up on wp.org, but kinda wanna hear back from Nick first, check he's okay with it!
Member — 6th September 2011 (8 months ago) #
Hi Chris,
Thanks for taking this on. And yes, let's put it up on WP.org! Please make sure to include both of us as plugin authors.
Don't worry about treading on my toes -- no ego here. ;) Just trying to make MP a better product for everyone whilst keeping up with my other clients.
One question though about the plugin -- and this may require Aaron's input -- is whether it is really even necessary.
See, the only real difference between [mp_product_grid] and [mp_list_products] is that I've removed the "product description" field (excerpt) and set the CSS to make the products appear like a grid.
It seems that this could EASILY be built into the existing code by adding an additional attribute, like this:
[mp_list_products display="grid"][mp_list_products display="list"]@Aaron -- thoughts on this?
Nick
Member — 6th September 2011 (8 months ago) #
@Chris--
Incidentally, I'm working on a featured product scroller shortcode for MP now -- something like what you see in this theme. Would you be interested in collaborating on that?
Lifetime Member — 6th September 2011 (8 months ago) #
@Nick dude, thanks for the points! I only need another 170 given to me, and I've got my free membership!
Very up for another plugin. Where are you up to so far? The jqueryness looks fun. We could put something on git...? I must say, my understanding of VCS is poor, but I'm keen to learn...
@Aaron despite having just made a new version of this plugin, I would agree that this would be sleeker, and likely result in less people coming on the forum saying "How do I put all the products in a grid"?
Member — 6th September 2011 (8 months ago) #
Chris--
Thanks so much for moving this along. It's great to have the Grid plugin attributes work properly now!
And Nick: A featured product scroller is a terrific idea. Hats off to you and Chris if you can get it up and running. Please keep us posted here on the forum.
Member — 9th September 2011 (8 months ago) #
Wasn't able to download the plugin from the website at the link above. Chrome kept reporting that the download was interrupted.... Any way of attaching it to a post in this thread?
Lifetime Member — 9th September 2011 (8 months ago) #
Ah damn, my stupid web hosts are basically out to ruin my life!
On my phone now, but I'll get it back online tomorrow. If you wanna email me at bigonroad@gmail.com, ill chuck you an email with it in as soon as I get to my PC.
Sorry about this mate!
In other news: I can thoroughly unrecommend Eukhost.com for their appalling service. Nothing but problems, with apparently computer illiterate support staff!
Lifetime Member — 9th September 2011 (8 months ago) #
Think this link should work - http://allaboutchris.org/?download=MarketPress%20Grid%20plugin
Got a mate to try it, says it works. Might be whatever moronic changes my hosts made hasn't filtered through to your bit of the web yet - if so, email me and ill send it to you!
Member — 18th September 2011 (8 months ago) #
Not sure if this has happened with other themes but with NELO the content div is a class and not an ID so the CSS won't work properly.
Simply changing the "#content" to ".content" works fine... I posted this in case anyone else has this experience with a theme they are using.
Member — 18th September 2011 (8 months ago) #
Thanks Chris,
Any dev work to make Marketpress more user friendly is awesome !
Here's some points! Feel free to reciprocate :)
Johnny
Lifetime Member — 19th September 2011 (8 months ago) #
@wecreateyou I’ll have a look at the css – I suspect #content might not really be necessary anyway…
@johnnymestizo Thanks for the points! Pretty nearly there now, only need 50 more! Will repeat the favour when I get round to trying out your plugin.
Member — 19th September 2011 (8 months ago) #
Steady on trying that plugin ! Should have a new version ready by the end of the week...
Member — 19th September 2011 (8 months ago) #
Cheer Chris mate :) just what I needed for a project I'm working on!
Lifetime Member — 19th September 2011 (8 months ago) #
Awesome! Thanks for all the points everyone, I just got over the 400 points limit for my free lifetime membership!
WPMUDEV FTW!
Lifetime Member — 19th September 2011 (8 months ago) #
That is great Chris ;)
Use the contact form and link to your rep points and you'll log in one morning and see lifetime member under your name. Very Cool ;)
Lifetime Member — 19th September 2011 (8 months ago) #
Hehe, exciting stuff. I am genuinely excited actually lol
Member — 30th September 2011 (7 months ago) #
If anyone is interested, I need some help with trying to display product in a grid for MarketPress.
eMail me via here and willing to pay.
Running MarketPress, just have no idea at all on how to actually do the grid part.
Member — 24th October 2011 (7 months ago) #
Hi All,
does this plugin orek for multisites? I have installed it and activated it on the network, but it does not seem to work. I have also tried listing the products on the home page with [mp_list_global_products display="grid"] This will list my global products but not in grid format :(
Lifetime Member — 24th October 2011 (7 months ago) #
Hey.
To use the grid plugin, you use the shortcode [mp_product_grid]
Hopefully it will get taken into core at some point, then you'll be able to use the shortcode as you did above
Bless,
Chris
Member — 28th October 2011 (6 months ago) #
Is anyone willing to further develop this plugin for the global marketplace? :)
Member — 29th October 2011 (6 months ago) #
Hi msmith11
It is already able to do "global marketplace"
In you general settings in network
Member — 29th October 2011 (6 months ago) #
So changing those options will allow the global marketplace page to display all products from my entire network in a grid?
Member — 8th March 2012 (2 months ago) #
the download link is dead again.
can someone please update the download link?
Member — 8th March 2012 (2 months ago) #
I second that. Need the grid option too.
Member — 9th March 2012 (2 months ago) #
Hey just to let you guys know... Grid's for Marketpress is a simple matter of css styling. Just float product box left and you'll have a grid layout.
.mp_product {width:150px; float:left;}Doing it this way you can add the style to the list of Marketpress themes for a variety of layouts that can be selected.
Member — 9th March 2012 (2 months ago) #
@wecreateyou: it is not. The grid shortcode doesn't display the product's content. Of course I could use the normal product listing short code and the hide the content via css but still...
Become a member