Jump to content

 

customer42

Member Since 07 Apr 2018
Offline Last Active Today, 12:13 AM
-----

Topics I've Started

Looking For Developer To Create Cat. Menu

Today, 12:14 AM

Hi,

 

I'm looking for a plugin that actually works that does simply this:

Browse through categories, all categories shown, when you open a category, you further explore it, all top categories still shown, this multiple levels deep.

 

Please view the attachment for a preview.

 

The way it should work is the same as the category browser on this site: https://www.anythingsportsman.com/

 

Thanks in advance, will check back in about 12 hours.


Email Template Smarty (If = Shop, Then Footer = This Color)

17 April 2018 - 08:40 AM

Got a small issue which I can't solve, the email templates are shared over all shops. Therefore the hardcoded colors in my template are used everywhere and that's just no good.

 

This could be solved in 2 ways, either the shops don't share the same email templates anymore.

Or I put an IF statement in the code.

 

Can anyone assist?

 

    .message-footer > td {
      padding: 10px 15px;
      background-color: #2290db;
    }
 
Should be
 
    .message-footer > td {
      padding: 10px 15px;
      background-color: {% if shopid = 1 %} Color1 {% else %} Color2 {% endif %};
    }

 

I lack the knowledge about the to be used variable for shopID and the way I should construct the statement.


(Solved) Administrator Access All Stores

15 April 2018 - 02:14 PM

Hi,

 

I have 2 people working on order processing for 8 store fronts.

However, their admin accounts can only access the main store. Ultimate cs-cart edition.

 

How do i allow them access to another store?


(Solved) Menu Links Not Translatable

08 April 2018 - 10:45 PM

Hi,

 

Been busting my head over this.

The menu's in cs-cart are multilanguage, however, the links cannot be changed PER language.

 

I have a dutch menu, which needs to point to the url /NL/category

In english this url needs to point to /EN/category

 

This doesn't work, the name field translates fine though.

 

I've tried setting up 2 menu's in layout, but the layouts will stay the same in each language layout so that doesn't work. Any idea how to solve this?


Trying To Show Sub Categories Under Current Category

07 April 2018 - 01:06 PM

Hi guys,

 

I have a simple category list on the left of my site which shows all categories, works perfect.

However, i need it to function more like a menu.

 

When entering a sub category, i want to keep showing the root cat's and only expand the category i am in, all closed cat's not showing.

 

For example, i clicked pants, then color.

- Mens clothing (Clicked)

-- Pants

---- Blue

---- Black

---- Pink (Clicked) - last of the subcategories.

-- Socks (List is closed)

-- Shirts (List is closed)

- Womans clothing (list is closed)

- Child clothing (list is closed)

 

I currently have only this to go on and can't for the life of me figure out how to do it in smarty, i'm not a big smarty person i must say.

 

Anyone have a good idea as how to start or point me in the right direction?

{if $subcategories}
    {math equation="ceil(n/c)" assign="rows" n=$subcategories|count c=3|default:"3"}
    {split data=$subcategories size=$rows assign="splitted_subcategories"}
    <ul class="th_subcategories-list subcategories clearfix">
    {foreach from=$splitted_subcategories item="ssubcateg"}
    <a href="{"categories.view?category_id=`$category.category_id`"|fn_url}" class="ty-subcategories__item__link">
        {foreach from=$ssubcateg item=category name="ssubcateg"}
            {if $category}
                <li class="ty-subcategories__item">
                    <a href="{"categories.view?category_id=`$category.category_id`"|fn_url}" class="ty-subcategories__item__link">
                    {if $category.main_pair}
                        {include file="common/image.tpl"
                            show_detailed_link=false
                            images=$category.main_pair
                            no_ids=true
                            image_id="category_image"
                            image_width=24
                            image_height=24
                            class="ty-subcategories-img"
                        }
                    {else}
                        <i class="ty-subcategories-img ty-subcategories-img--icon icon-tt-cat-bullet"></i>
                    {/if}
                    <span {live_edit name="category:category:{$category.category_id}"}>{$category.category}</span>
                    </a>
                </li>
            {/if}
        {/foreach}
    {/foreach}
    </ul>
{/if}