Ubercart Custom Catalog Menu

|
Picture 5.png

Today I decided to work on the menu for the new shop I'm building. I really didn't like the idea of a folding menu because I'm only going to have 2 levels of categories, and even still, I wanted all menu items seen at all times for easier navigation. The code I whipped up goes is attached in a .txt file.

Instructions for use, simply change the top variable 'catalog_vid' to be your catalog's vocabulary id. This can be found at '?q=admin/content/taxonomy'. Insert the snippet into a new block and choose PHP Input Type. Bing Bang Boom, you have a menu that has descriptive header links, ready to be styled to your liking.

As always, I hope this helps someone else.

AttachmentSize
ubercart_custom_catalog_menu.txt994 bytes
Custom Menu Screen Shot171.59 KB

That code snippet doesn't

That code snippet doesn't look very friendly. I've attached a .txt file that contains a properly formatted version for easier use.

Hi, I'm interested in your

Hi,

I'm interested in your Ubercart menu snippet. The provided link goes to your homepage sadly.

Regards,

Kees

this code of yours looks

this code of yours looks nice.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may use [inline:xx] tags to display uploaded files or images inline.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Upcoming events

  • No upcoming events available