| User | Post |
|
4:50 pm July 5, 2009
| ellenetc
| | |
| Member | posts 30 | |
|
|
Post edited 3:25 pm – September 25, 2010 by Market Admin
I have figured out how to get the link buttons for specific categories to appear in the navigation bar in the market 3.51 version. This also creates a separate page for each specified category.
Instructions in previous posts will not help, b/c the file that needs modification has changed since those posts.
I am a complete idiot with this stuff, so hopefully this will help out others who need things spelled out for them.
My product is coffee, so I will use that as my example.
Let's say you want 3 links on the nav bar – one for bold blends, one for mild blends, and one for flavored coffee.
1. Create your category, i.e. bold blends. After the category has been created, and you've added it to your list of categories, go to the list of categories, and move your mouse over the name of your newly created category. The category id (a number) will show up down in the lower left of your screen. Make note of that.
Find the "gridview.php" file located in the themes>mk3 folder. (For Market versions PRIOR to 4.0, the filename is named "frontdoor.php") You will make 3 copies of it, one for each blend. For each one, do the following:
2. In line 3, delete "Grid-view Template" and replace with "new name", where the new name is bold blends, for example. (For Market versions PRIOR to 4.0, you will replace the words "storefront homepage")
(Step #3 is only for Market versions PRIOR to 4.0)
3. In line 12, insert the name of your page (you'll create that page in step 7 – just be sure to use the name you've specified here) between the empty quotes.storefront_pagename = ""; 4. On or around line 15, insert the new category id (the number you noted in step 1) between the empty quotes $specific_category_id = "";
5. Save file as the name of your new category, i.e. "template-bold.php"
6. Upload using an FTP program to your wp_content>themes>mk4 folder. ("mk3" folder for versions PRIOR to 4.0)
7. Now create a new page, i.e. Bold Blends, and specify "bold blends" from the template drop down box. The name bold blends in the drop down box came from what you did in step 2.
Repeat steps 2 thru 7 for each of the other two blends, so that when finished, there will be the original "gridview.php" file (or "frontdoor.php" for older versions), along with a "template-bold.php", "template-mild.php", and "template-flavored.php" file.
Important: be sure to save the original "gridview.php" (or "frontdoor.php") file. You will still need it!
If anyone sees anything that is not correct here, please feel free to correct.
click on my user name above to see how I've done it in my site.
Ellen
|
|
|
1:34 am July 6, 2009
| icy1
| | Colorado | |
| Member
| posts 2222 | |
|
|
Thanks Ellen, Looks like handy info as I only knew the old way that you mentioned.
I updated one of my sites to new version (finally took the plunge it is so different now)
I'm a total beginner again.

Now I'm trying to figure out how to take advantage of all that wasted space we all have on the right side in the storefront grids.
I got it down to only about 80pixels wasted. (was about 150)
The new thumbnail options is great.
I have huge 168px ones now. (lots of visitors with not so great eye sight like me)
I Used to have to hardcode all that before and it would wipe out all styling.
|
|
|
5:03 am July 6, 2009
| jeffwiththejams
| | |
| Member | posts 67 | |
|
|
I'll add one little detail to Ellen's handy guide…
You can place your pages in any order you want on the nav bar (except for the Home and View Cart). On the lower right of each page's Edit Page, under Attributes is a Number. There you can override the default alphabetical order by typing in a number to determine your page order.
Great looking site, Ellen! I love the informative approach!
|
|
|
3:11 pm July 6, 2009
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
Thank you very much for the detail. I'll move this thread to the "How to" section.
|
|
|
3:58 am July 17, 2009
| cowpattybill
| | |
| New Member | posts 2 | |
|
|
Anyone know which file contains the url for the "home" link in the nav bar? I've looked everywhere and can't find it. I have my store setup on a subdomain so I want the "home" link to take the customer back to the main store page which is not in the subdomain.
|
|
|
4:15 am July 17, 2009
| cowpattybill
| | |
| New Member | posts 2 | |
|
|
Nevermind. After about 2 hours of downloading and searching through every MK3 file I finally figured out it was a setting in the admin area. Holy smokes that was alot of wasted time.
|
|
|
10:37 pm July 23, 2009
| icy1
| | Colorado | |
| Member
| posts 2222 | |
|
|
took me two years to get it right. Your site/s look fantastic
|
|
|
3:42 am July 24, 2009
| jeffwiththejams
| | |
| Member | posts 67 | |
|
|
Cowpattybill, I agree…great looking site!
One thing I'm trying out at our site is a separate "Thank you for your payment" page (perhaps some of you have already done this or something better). I set this page up as a child of one of our non-product pages, assigned to the default template.
My goal was to have a page the customer wouldn't see until they returned from the checkout. The only other way to find it is through the search box.
So far, it seems to be working fine. Thought I'd share this in case this helps someone else.
|
|
|
11:06 pm August 5, 2009
| rmichelli
| | |
| Member | posts 20 | |
|
|
Thanks for the great tutorial, this is just what I needed and well explained!
I am having a problem though. Every time I add a new product now, the post shows up on the homepage under News. When I've added products before, they simply went into the category and did not show up as a post…which is how it should be.
Is there some step I am missing, or is this how it works now after making this modification?
Thank you for any assistance.
-Richard
|
|
|
4:52 pm August 6, 2009
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
Two things need to happen and I believe that you're not doing one of them.
1. In your Market Options settings area, you need to have a main "Parent" category selected for all your products.
2. When you add a product, you need to make sure you place it in either your main products category, or a sub-category within your products.
You can have many "child" product categories, but they must reside under the "parent" products category. It's a hierarchy thing.
Hope this helps.
|
|
|
8:44 am August 7, 2009
| rmichelli
| | |
| Member | posts 20 | |
|
|
I think this may have been the problem.
I checked my Parent category there and it appeared to have not been set to the highest "Parent" category. I changed it and then put up a couple test "Add Product" posts and they did not show up on the homepage, they showed just as they should. I will continue adding some products and see if in fact this was the issue.
Thanks so much!
-Richard
|
|
|
8:42 pm December 7, 2009
| jharford
| | |
| Member | posts 17 | |
|
|
I have a follow up question for this thread.
When you view a particular product – let's say : A sofa you get a list of it's categories and subcats in the breadcrum. When you click on one of these links you are taken to the category listing page, which is not the frontdoor style page. Is it possible to link to that instead?
Thanks,
Joe
|
|
|
2:08 pm December 8, 2009
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
Not yet… With the release of Market 4, there will be much more use of category thumbnails for navigation.
|
|
|
8:40 pm February 10, 2010
| Risa
| | |
| Member | posts 20 | |
|
|
I followed the directions, but it didn't work. I have MK3.62. Could that be the problem?
Thanks!
|
|
|
4:36 pm February 11, 2010
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
Doubtful. Pretty sure this should work.
Here's an older post that covers the same process.
http://www.markettheme.com/for…..front-page
It's just a little older than this thread, and not as organized.
|
|
|
8:42 am February 12, 2010
| Risa
| | |
| Member | posts 20 | |
|
|
Never mind. I checked the files again and I had not named them correctly. It works now. The directions are super, but the way.
|
|
|
2:29 pm February 20, 2010
| theempire
| | |
| Member | posts 3 | |
|
|
Just wanted to take a sec to say that this guide is excellent! Thank you!!!!!!
|
|
|
10:23 am July 22, 2010
| Jdyer88
| | |
| Member | posts 9 | |
|
|
Tried this in Market 4.0. Found no references to the following lines in the frontdoor.php file. Has it changed, and if so, does anyone know how to edit the new frontdoor.php to add category pages in version 4?
"3. In line 12, insert the name of your page (you'll create that page in step 7 – just be sure to use the name you've specified here) between the empty quotes.storefront_pagename = "";
4. In line 15, insert the new category id (the number you noted in step 1) between the empty quotes $specific_category_id = "";
|
|
|
10:36 am July 22, 2010
| Market Admin
| | |
| Admin
| posts 4756 | |
|
|
Yes, it has changed with Market 4.
Since categories now show up in the sidebar menu, for the most part, it's not as necessary as it once was with Market 3 — however you can still do it if you like.
The file you're going to be working with however, is now called "gridview.php". That's the file you'll be working with. ("frontdoor.php" is now used differently as a main storefront)
If you do the same type of thing as above, but copy and use the "gridview.php" file, then you should get the result you're after.
|
|
|
11:05 am July 22, 2010
| Jdyer88
| | |
| Member | posts 9 | |
|
|
Thanks for the quick reply.
|
|