Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    521
    Plugin Contributions
    3

    Default New Template, CSS Buttons and GV_SEND.php

    I'm converting an OpenCart template to the ZenCart template scheme. (A pain in the rear, but whatever... I'm almost done.)

    I'm having problems with the gv_send.php page. I'm trying to make a CSS "Edit" button since there are no image buttons to use for this template. However, I'm having a hard time to program it without causing the confirm page to always go back to the Edit page even if you hit "Send Gift Certificate" or some other javascript error. I tried to use the zen_draw_hidden_field as well as a hardcoded HTML hidden field and it cause the same to happen. Any help would be appreciated.

  2. #2
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    521
    Plugin Contributions
    3

    Default Re: New Template, CSS Buttons and GV_SEND.php

    Figured this one out. Since my cart isn't using the zen_image_submit function, $_POST[edit_x] or [edit_y] isn't being set. So I just used a checkbox named edit_x to do the same and messed with a bit of the page's internal coding and javascript and the rest worked.

 

 

Similar Threads

  1. v151 Disable CSS buttons for some buttons and not others
    By longstockings in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 16 Nov 2013, 04:00 PM
  2. Help with using css buttons, "update cart' does not use the css buttons?
    By trinitypres in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jan 2011, 04:34 PM
  3. how to create new css buttons??
    By tlyczko in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 3 Jan 2009, 01:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR