Jump to content

crombiecrunch

Members
  • Content count

    34
  • Joined

  • Last visited

Posts posted by crombiecrunch


  1. Does this module require that you use the google check out icon? I have google checkout as my only payment option, and when you click on confirm order it does not take you to google check out page. It just takes you back to the site. Ive triple checked my coding and everything seems correct.


  2. Yup see the error. Ill upload a new file in a min

     

     

    Hi!

     

    Yes very nice indeeed!

     

    I did a quick test, but got a blank page and parse errors saying unexpected end at the last line. I added a curly bracket not really knowing the correct spot for it, after the page showed up, but none of the checkout related areas were there...

     

    A few </td> </tr>, lines: 2560,2561,2563,2564 seems to be redundant.


  3. Hello

     

    The state drop down will be updated in the next release. Which should be tomorrow or the next day( DEC 8th or 9th).

     

    Hi

    Excellent contribution - I was wondering though....

     

    we use drop down states for the shipping,

     

    basically we get th pull down

     

    	  echo tep_draw_pull_down_menu('state', $zones_array);
      } else {
    	echo tep_draw_input_field('state');
      }
    } else {
    	echo tep_draw_input_field('state');

     

    and change to

     

     

    echo tep_draw_pull_down_menu('state', $zones_array);
      } else {
    	echo tep_draw_input_field('state');
      }
    } else {
    	  // FORM NOT PROCESSED YET
      $zone_id = 0;
      $check_query = tep_db_query("select count(*) as total from " . TABLE_ZONES . " where zone_country_id = '" . (int)STORE_COUNTRY . "'");
      $check = tep_db_fetch_array($check_query);
      $entry_state_has_zones = ($check['total'] > 0);
      if ($entry_state_has_zones == true) {
    	$zones_array = array();
    	$zones_array[] = array('id' => PULL_DOWN_DEFAULT, 'text' => PULL_DOWN_DEFAULT);
    	$zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . (int)STORE_COUNTRY . "' order by zone_name");
    	while ($zones_values = tep_db_fetch_array($zones_query)) {
    	  $zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']);
    	}
    	echo tep_draw_pull_down_menu('state', $zones_array);
      } else {
    	echo tep_draw_input_field('state'); }
    }

     

     

    however in checkout_shipping & checkout_billing

     

    it only shows this

     

     echo tep_draw_pull_down_menu('state', $zones_array,'',$disabled_ship." ".'onchange="toggleShipping_fields(\'state\',\'ship_state\');"');
      } else {
    	echo tep_draw_input_field('state',$state,$disabled_ship." ".'onKeyUp="toggleShipping_fields(\'state\',\'ship_state\');"');
      }
    } else {
      echo tep_draw_input_field('state',$state,$disabled_ship." ".'onKeyUp="toggleShipping_fields(\'state\',\'ship_state\');"');
    }
    
    if (tep_not_null(ENTRY_STATE_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_STATE_TEXT;

     

     

    how do I alter this code so the state becomes a drop down with the zones listed


  4. Thanks I hope a lot of people will find a good use for it. The page was really created for my website only at first, and then it was 'adapted' for a default OSC install. As some know from chatting with me in IM, I actually hired a developer for my site since I have zero skills :)

     

    I am more then happy to have any reasonable suggestions added in to the contribution. And the contribution will be fully supported by myself and my developer.

     

    And if the page really works for you, please try to show your support through a donation.


  5. Hello everyone. I had a single page checkout created for my site at http://rentthisroom.com/salescart . I am going to be releasing it as a contribution to the community. I am looking for 4-5 beta testers before I release this. The files with the install docs should be ready tomorrow or Saturday the 29th. So if you would like to help test it, please respond here and Ill let you know as soon as the files are ready for download.

     

    I am just asking for the testes to make sure the majority have a smooth install.

     

    Jonathan


  6. Can this be setup so instead of giving a item free it gives items at a percentage off? or is there another addon i missed for that? I am looking to seel 1 at regular price and then each additional at -%off of the same product or similar products


  7. not sure if this is already built in or if I can request this as a feature OR if anyone that knows a module that can do the following:

     

    My store offers php code that I have to encode and lock to my customers websites before they can download. So what I am looking to do is the required work to the code upload it then point the customers order to that specific file. So I might have 300 customers that buy the same code but Id have 300 accounts pointing to 300 different files. Any ideas or help on this?


  8. From the looks of things, it may go better after this:

     

    tep_db_perform(TABLE_ORDERS, $sql_data_array);
     $insert_id = tep_db_insert_id();

     

    so it looks like this:

      tep_db_perform(TABLE_ORDERS, $sql_data_array);
     $insert_id = tep_db_insert_id();
    
    require(DIR_WS_MODULES . 'maxmind/maxmind.php');

     

    I haven't tested that yet, but will as soon as I can. I'm looking to add the admin stuff soon too, as that would make my job building the module easier too. I did it for EZier new fields, but I forgot about that contribution until you mentioned the admin thing.

     

    ok i moved that line to were you suggested. I am still waiting on my key so I am not sure if this is 100% working or not.


  9. Is it giving errors? Did you run maxtest?

     

    I don't have that level of integration with the admin area finished yet, but perhaps I'll put that on as my very next thing. The only settings are to change the file itself. I'm trying to get it to a point where folks can both upgrade and install fresh.

     

    I forgot to update the HTML instructions to indicate 2.0, but they are 2.0 instructions. I'll install a fresh set on my development center and see where I may have made a mistake. Thanks for the update. I take any and all comments seriously and will try to integrate features into a newer release.

     

    Ok I think I may have it working, I dont have a key yet I went to the signup but it says it takes a day to get back. When I run the maxtest everything is blank the first time I ran it it said the table did not exist but it did, and now I dont get that error. I am not good with database stuff so all I did was copied the stuff in step 1 and made a file max.sql and I added it there. When i tried to import the file I got a error on the `risk` float(7); line and I changed it to `risk` float(7), So i dont know if I screwed something up in the database for it?

     

    The only other thing that confused me in step 1 it says "Add a new field in products table in database thru MySQL" so is orders_maxmind suppose to be its own table or is it suppose to be under the products table? Sorry if my post is as confusing as I am lol

     

    Oh one other thing I am using Super_Download_Shop_v1.1 and in the file catalog/checkout_process.php: I do not have

     if (tep_not_null($sql_data_array['customers_id'])) {

    , I dont know if that was something that was removed by the super-download, So i am not sure where to add the,

    require(DIR_WS_MODULES . 'maxmind/maxmind.php');

    so I added it near the top of the file

×