NetTalk Central

Author Topic: View Cart and Checkout Above Menu  (Read 2781 times)

bryce

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
View Cart and Checkout Above Menu
« on: June 06, 2013, 12:25:56 AM »
On most shopping sites (including ClarionShop) there are "View Cart" and "Checkout" buttons above the main menu.

I have been trying to achieve this for a couple of days now and have failed totally.

I assume this must be achieved in the PageHeaderTag procedure but can't work out how it is achieved.

Can someone point me in the right direction please?

Thanks.

Bryce

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11242
    • View Profile
Re: View Cart and Checkout Above Menu
« Reply #1 on: June 06, 2013, 05:36:45 AM »
Hi Bryce,

There are quite a few approaches to this, but the one I'd probably lean towards is creating a small NetWebForm procedure, set the tab type to "none", set the layout to "vertical" and the span columns on (on the layout tab), and so on. then the form has maybe just a button, or maybe a couple small display fields and a button and so on. the key here is to keep the form small and compact.

the form is then included in the header as a tag;
<!-- Net:someFormName -->

cheers
Bruce


bryce

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
Re: View Cart and Checkout Above Menu
« Reply #2 on: June 06, 2013, 10:26:18 PM »
Bruce,

Thanks for that information.  I had been playing around with a form containing a single button as I thought that might be the way to do it but I couldn't get it to 'look right'.  I think the settings you have given me to try are the answer.

Thanks again.

Bryce