Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Creating Custom Fancy Displays
- This topic has 3 replies, 3 voices, and was last updated 13 years ago by Louis.
-
AuthorPosts
-
September 17, 2011 at 5:41 pm #4341oriridracoMember
Figured I’d ask this (after much searching) before I start mucking about in the plugin’s PHP.
I’m looking to create my own fancy displays. The ones available are great, but not well suited to what I am looking to do. I’m not asking for ones to be created FOR me, before someone informs me that the plugin creator doesn’t have time – I’m doing this myself.
What I need help on is WHAT files do I need to be looking in – I’ve found a few that look promising, but would like to make sure I don’t miss anything.
What I’m trying to do: extremely clean all products in a category display with the option to sort by most recently added. (Ideally, I’d like to select the categories that would be displayed from, but that’s for later.)
I could technically just edit the CSS for a fancy display, I know. I have been doing that, and putting in one fancy display per category to get a faux grid display. However, it is at best a faux grid display.
Doing this myself as I am a bit particular about div structure, and want to be able to pick what divs go where. I don’t want a wrapper div around each category so I can float:left; and clear: none; to my heart’s content.
Hopefully this makes sense, and thanks in advance for the help, if anyone is still around. (:
September 18, 2011 at 1:56 am #36728adminKeymasterMy suggestion would be to not worry about the category thing first. Just create a function that can display one product using the design you prefer. If you can complete this then adding the category options become easier (you just use this same display in a loop).
With that said, you can either start with modifying an existing fancy display to your liking or you can create a total new function for this new display. I would recommend modifying one of the existing display to your liking (this will prove to be easier as most things are in place already… you just have to position the information the way you want it). If you tell me which fancy display you want to modify I will be able to tell you exactly which PHP function to look for.
After you are done you can show me a sample of this display and if it looks like something other users will want then I won’t mind taking this and creating a new fancy display with this (a new shortcode for you).
The following post is also helpful:
November 11, 2011 at 2:25 am #36729LouisMemberGreat idea.
I would like a grid like so, maybe 3 to 6 rows…
Small picture (click on it to take you to the product page), than just below the picture:
A title, then below the title:
maybe a short description or not… optional, then below:
I want to be able to add a [short code] for mp3 preview, then below:
A add to cart button.
Then Bob is your uncle.
November 11, 2011 at 4:05 am #36730LouisMemberAmendment (been cruising the forum for 2 days non stop !)
This might work [wp_eStore_category_products_fancy id=1 style=3]
BUT, I am having issues with [short codes] with the other plugins I mentioned, so far I cannot preview mp3s.
Sorry if I kind of hijacked that thread, I’ll keep this topic for the other thread, I just thought it was a bit rude if I didn’t update on my findings.
PS: great art oriridraco + site.
-
AuthorPosts
- You must be logged in to reply to this topic.