Pages:

How to delete phone field

Mr.President

No avatar

2009-02-02 15:05

Hi. How can I delete the phone field in order form?

» Quick.Cart v3.x

beholder

Avatar: beholder

2009-02-02 18:05

delete it in orders_form.tpl (whole <div id="phone">..</div>)

also delete the line:
&& throwStrLen( $aForm['sPhone'] ) > 2
from core/orders.php

Mr.President

No avatar

2009-02-02 18:37

Thank you beholder, that works fine. Can you tell me how to delete the #head1 section and how to put the basket to #menu2..any help would be appreciated.

beholder

Avatar: beholder

2009-02-03 02:11

you do this in administration, edit pages "basket" and "help" and put then from top-most menu to the menu under logo.
Furthermore, you can delete the $menu1 from templates/container.tpl or delete some other stuff in that file at will.

Mr.President

No avatar

2009-02-03 04:24

I just followed those steps, but on the top of the page it says 'No sBlock: LIST_BASKET in file: templates/menu_2.tpl' and the basket is lost...what am I doing wrong?

beholder

Avatar: beholder

2009-02-03 20:19

yes, somehow it doesn't work as it should. Do this:

1. Move the basket page to the 'Hidden pages' menu.
2. Then create a new page called "Basket2", in the redirect field put following:
?basket,<basket ID>
..where <basket ID> is the ID number of your basket page (you can see IDs when you are in pages listing in administration).
3. Then add the page basket2 to the menu below logo.

This must work, it is tested.

Mr.President

No avatar

2009-02-03 21:36

I have put ?basket,<basket 18> to address field of basket2. 18 is my ID for basket. Is that correct, or what do you mean with 'redirect field' ?

beholder

Avatar: beholder

2009-02-03 23:01

no, it should look like:
?basket,18

Mr.President

No avatar

2009-02-04 02:13

This seems to be working. How can I put the basket-symbol to the right side of the navigation? I want to display it as a symbol, not menu..

Mr.President

No avatar

2009-02-04 02:20

Another question - I have deleted the phone field in order form. When I go to the admin-panel, pending orders and want to change the order status from pending to finished, it says that the phone field has to be filled out...how can I disable or delete that function?

beholder

Avatar: beholder

2009-02-04 03:37

In templates/admin/orders.tpl try to change line:

<input type="text" name="sPhone" value="$aData[sPhone]" size="50" maxlength="40" class="input" alt="simple" />

to:

<input type="text" name="sPhone" value="$aData[sPhone]" size="50" maxlength="40" class="input" />

Let me know if it works, if not there could be some different solution.

Mr.President

No avatar

2009-02-04 13:16

It works, thank you beholder.

Mr.President

No avatar

2009-02-04 13:17

Any idea, how to put the basket-symbol to right side of navigation?

beholder

Avatar: beholder

2009-02-04 15:41

which one you mean? (pic)

Mr.President

No avatar

2009-02-04 16:04

I mean the navigation, where we have company, our offer, rules and policies and contact us. I would like to put the basket-icon to the right side on this bar.

Mr.President

No avatar

2009-02-04 19:49

Got it, instructions can be found here http://opensolution.org/Quick.Cart/docs/?id=tips

BUT, I don't want to have the basket as a link, only the icon. Neither I want to have it as a navigation-field like company, our offer and so on... How can I move the icon to the the very right side of the navigation bar?

Mr.President

No avatar

2009-02-05 22:13

Can someone please help out?

beholder

Avatar: beholder

2009-02-05 22:54

show pic of what you want?

Mr.President

No avatar

2009-02-05 23:10

Is it so hard to understand what I want? :-)

I want to put the basket icon from #menu1 to #menu2. But I don't want to have it as a field like 'company' and so on...I want to have only the icon just like in #menu1 and the icon should be on the right side of #menu2.

beholder

Avatar: beholder

2009-02-06 16:08

again, this seems to be done with CSS in #menu1
so theoretically to use it in menu2, you could try to copy some CSS from #menu1 to #menu2

Pages:
Back to top
about us | contact