Jump to content

comparison order form - changing comparisonsteps.tpl


keneso

Recommended Posts

Hi,

 

I am trying to customize the comparison template, and am stuck at the comparisonsteps.tpl file.

 

What I am trying to do is to make it responsive using bootsrap, thus removing the fixed width, so how can I change

<div class="step{if $step eq 1}active{/if}">
<div class="arrow{if $step eq 1}activeright{elseif $step eq 2}activeleft{/if}"></div>

I suppose it has to do with the $step variable, but don't know where/how to do it.

What I want to get would to put the 3 steps in three divs of four columns wide each, and change the aspect of the div based on the step.

 

Thank you

Link to comment
Share on other sites

No matter what I change it just does not appear.

 

To check if it is the correct file I also deleted the file, but it still shows up.

 

I have the template selected both in general ordering setting, and as product group, so I don't understand where it gets loaded from since I have deleted the file.

Link to comment
Share on other sites

weird - it must be finding it from somewhere!

 

are you using a custom template folder name rather than editing the template within the comparison folder directly?

 

the comparisonsteps file called is located in the comparison folder, so if you've duplicated the folder and are working with a copy, then it will still be calling the comparisonsteps.tpl within the original comparisons folder rather than the duplicate folder - if you see what I mean!

Link to comment
Share on other sites

if you see what I mean!

 

I sure see what you mean. Problem is I could have looked at that line (orderforms/comparison/comparisonsteps) other 100 times - I looked at it quite few times - and wouldn't have seen it.

 

Thank you, once again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated