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

    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
    424
    Plugin Contributions
    1

    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. $messageStack->add('gv_send'...
    By creative_mind in forum General Questions
    Replies: 4
    Last Post: 5 May 2010, 07:11 AM
  2. ERROR: gv_send Cannot redeclare class httpclient
    By dmfelder in forum General Questions
    Replies: 6
    Last Post: 29 Mar 2008, 06:23 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
  •