Breadcrumbs

From Unknown
Member since Dec -0001

Hello I'm new at LiteCart and I'm integrating a new template based on Bootstrap, also I want to give some help once I release my website with LiteCart.

The thing is that I don't know how print the breadcrumbs :S

Thank you in advance and I will do my best to help new members too, I like a lot this software, I come from PrestShop, OpenCart and Magento, but I needed some more simple and powerful, I think I found it.

Let's improve LiteCart ;)

Main Crew
From Sweden
Member since Feb 2013

The breadcrumbs are cooked in lib_breadcrumbs. Use the snippet named breadcrumbs to output them. E.g.

Looking forward to see your progress on bootstrap. :)

From Unknown
Member since Dec -0001

The breadcrumbs are cooked in lib_breadcrumbs. Use the snippet named breadcrumbs to output them. E.g.
Looking forward to see your progress on bootstrap. :)

WTH!! Was my mistake, I was using (check th S after snippet), but the weird think is that I'm using fine in every file of the template :/ hahahah

I did a change on wiki.litecart.net/doku.php?id=how_to_create_a_template (Template Settings)

Thank you!

Main Crew
From Sweden
Member since Feb 2013

Very good. :)

In lib_document see:

public static function before_output() {

    // Get template settings
      self::$settings = unserialize(settings::get('store_template_catalog_settings'));

Meaning you should be able to access the template settings straight through document::$settings['myvar'].

From Unknown
Member since Dec -0001

oh oh oh... you right, perfect, just the variable was wrong, that was why I could not use $template_settings.

PD: I'm sorry for my english, is so ugly.

Thank you

Main Crew
From Sweden
Member since Feb 2013

The template layouts in 1.3.2 have the old standalone syntax. I just changed it so next version will be document::$settings.

This thread has been closed due to long inactivity. Posting to it is not possible.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.