A A A

Please consider registering
guest

Log In Register

Login form protected by Login LockDown.


Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Idiot's Guide to organizing Nav Bar by categories
July 5, 2009
4:50 pm
Member
Forum Posts: 30
Member Since:
June 26, 2009
Offline

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

July 6, 2009
1:34 am
Member
Forum Posts: 2371
Member Since:
April 24, 2008
Offline

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.

Surprised

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.

July 6, 2009
5:03 am
Member
Forum Posts: 67
Member Since:
April 29, 2009
Offline

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!

July 6, 2009
3:11 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

Thank you very much for the detail.  I'll move this thread to the "How to" section.

July 17, 2009
3:58 am
New Member
Forum Posts: 2
Member Since:
April 30, 2009
Offline

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.

July 17, 2009
4:15 am
New Member
Forum Posts: 2
Member Since:
April 30, 2009
Offline

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.

July 23, 2009
10:37 pm
Member
Forum Posts: 2371
Member Since:
April 24, 2008
Offline

took me two years to get it right. Your site/s look fantastic

July 24, 2009
3:42 am
Member
Forum Posts: 67
Member Since:
April 29, 2009
Offline

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.

August 5, 2009
11:06 pm
Member
Forum Posts: 20
Member Since:
July 21, 2009
Offline

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

August 6, 2009
4:52 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline
10

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.

August 7, 2009
8:44 am
Member
Forum Posts: 20
Member Since:
July 21, 2009
Offline
11

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

December 7, 2009
8:42 pm
Member
Forum Posts: 17
Member Since:
February 24, 2009
Offline
12

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

December 8, 2009
2:08 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline
13

Not yet…  With the release of Market 4, there will be much more use of category thumbnails for navigation. 

February 10, 2010
8:40 pm
Member
Forum Posts: 20
Member Since:
December 8, 2009
Offline
14

I followed the directions, but it didn't work. I have MK3.62. Could that be the problem?

Thanks!

February 11, 2010
4:36 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline
15

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.

February 12, 2010
8:42 am
Member
Forum Posts: 20
Member Since:
December 8, 2009
Offline
16

Never mind. I checked the files again and I had not named them correctly. It works now. The directions are super, but the way.

February 20, 2010
2:29 pm
Member
Forum Posts: 3
Member Since:
September 29, 2009
Offline
17

Just wanted to take a sec to say that this guide is excellent!  Thank you!!!!!!Smile

July 22, 2010
10:23 am
Member
Forum Posts: 9
Member Since:
July 20, 2010
Offline
18

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 = "";

July 22, 2010
10:36 am
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline
19

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. 

July 22, 2010
11:05 am
Member
Forum Posts: 9
Member Since:
July 20, 2010
Offline
20

Thanks for the quick reply.

Forum Timezone: UTC 0

Most Users Ever Online: 40

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

icy1: 2371

wreed06: 175

laurie390: 168

StitchTek Services, LLC: 144

boutiqueelliette: 130

yiorgos: 127

Member Stats:

Guest Posters: 428

Members: 2252

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 2983

Posts: 16042

Moderators: Market Admin (5051)

Administrators: Market Admin (5051)

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.