Jump to content

Choose Another Category - Change to Order form


Recommended Posts

Hello all,

 

I want to modify the 'Choose Another Category' link that you can click for the other product categories to appear.

 

The standard config is that the other products are hidden until the 'Choose Another Ca...' is clicked, however I would like it the other way around, so the other categories show by default and if the linked is clicked they get hidden....or in fact I don't really mind if the link does anything at all as I am sure no one will want to hide the products.

 

I have found the code for the oneclick show, however no matter what I do it doesn't show on default so I am guessing the actual showing/hiding is done elsewhere within the code. Code found in product.tpl:

 

<div align="center"><a href="#" onclick="showcats();return true;">{$LANG.cartchooseanothercategory}</a></div>

 

Any ideas on this one?

 

Cheers

Link to comment
Share on other sites

OK, so I have managed to do it...however not sure how clean it is or what other effects it would have.

 

I have removed line 104 out of orderform/formchoice/style.css:

 

display: none;

 

This then stops the default display as 'none'. However as mentioned no idea if this is the best way to do it as of yet!

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