Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Frisser

Members
  • Posts

    30
  • Joined

  • Last visited

Posts posted by Frisser

  1. The filter works great - but only if I select 5 options (colour blue, size XXL, brande Y etc.), if I select a 6th selection it becomes very slow (high load on my MySQL server). It's always the 6th (and later off course). I've tried to optimize the code (not really necessary) but can't find why the sixth selection (and later) is a problem. Anyone any idea why this is? 

  2. The problem is with multiple checkboxes. So it you choose a checkbox the URL will be:

    products_filter.php?f4[0]=name1&cPath=29&sort=6a

     

    If I go to page 2 the [0] is gone and I see this: products_filter.php?f4=Array&cPath=29&sort=products_name&page=2

     

    Is it not possible to change [] to () like: products_filter.php?f4(0)=name1&cPath=29&sort=6a this should work if you go to page2?

     

    Problem solved, not really a very clean solution - but I used a pager script (so not the internal split page function). Well it works and it also looks better :)

    I noticed this problem also on other sites so it's a bit of a bug.. really would be nice if it could be fixed (after 3 days I gave up and used this solution).

  3. The problem is with multiple checkboxes. So it you choose a checkbox the URL will be:

    products_filter.php?f4[0]=name1&cPath=29&sort=6a

     

    If I go to page 2 the [0] is gone and I see this: products_filter.php?f4=Array&cPath=29&sort=products_name&page=2

     

    Is it not possible to change [] to () like: products_filter.php?f4(0)=name1&cPath=29&sort=6a this should work if you go to page2?

  4. Excellent contribution!

    Have a 'small' problem. If I filter a few products and the page is split in different pages the second, third etc. goes to:

     

    products_filter.php?f4=Array&cPath=29&sort=products_name&page=2

     

    The part f4=Array is wrong. it should be: products_filter.php?f4[0]=testname&cPath=29&sort=products_name&page=2

     

    Is it only me with this problem?

  5. New problem.

    I have 2 shipping methods for 2 countries.

    In Internet Explorer if I fill in the billing address it won't update the shipping methods. Only when I select country to a different country a couple of times it updates the shipping method. Also if I update the cart it will update the shipping method.

    Anyone?

  6. I have problem with payment modules - payment is never updated i just the loading image for ages and never goes away, in Firefox 3.5.9 and IE8, in opera everything is ok

     

    Problem is with the confirmation() in the payment module.

     

    in includes/checkout/payment_method.php I changed this

     

    // $confirmation = $GLOBALS[$selection[$i]['id']]->selection();

    $confirmation = $GLOBALS[$selection[$i]['id']]->confirmation();

     

    to this

     

    $confirmation = $GLOBALS[$selection[$i]['id']]->selection();

    // $confirmation = $GLOBALS[$selection[$i]['id']]->confirmation();

  7. I have problem with payment modules - payment is never updated i just the loading image for ages and never goes away, in Firefox 3.5.9 and IE8, in opera everything is ok

     

    Yes I have the same problem. And not with every payment module. Don't have a problem with moneyorder but with cop I have the same problem... really need a fix for this!

  8. I have a problem with the Discount Coupon Codes Module. Don't know if I'm the only having this problem.

    The 'Max Use' and 'Number Available' isn't working. It works when I disable One Page Checkout - but not when I enable it. If I set Max Use to 1 and I use the coupon unlimited.

     

    I really appreciate if someone could check if I did something wrong - or is this a general problem?

     

    Does anyone have a solution for this? So if someone have installed the Discount Coupon codes module please set the Max Use of Number Available to 1 and see if you can use it only once or unlimited... I think it's not working.

  9. Many thanks Frisser!! It works..... besides 1 little detail....

     

    I don't want to use State and I just set it false in the admin. Now when i check the shipping address, the confirm button doesn't show up anymore.

     

    Do you have a solution?

     

    Yes - in Checkout.php I changed this:

     

    						success: function (data){
    						$this.html(data);
    						onePage.addCountryAjax($('select[name="country"]', $this), 'state', 'stateCol')
    					},
    

     

    to this

     

    						success: function (data){
    						$this.html(data);
    						onePage.addCountryAjax($('select[name="country"]', $this), '', '')
    					},
    
    

  10. Hello Frisser, how did you get this thing working with STS ??

     

    It's a bit complicated and you have to modify the code a bit. But in short:

     

    - create a copy of your sts_template.html to checkout.php.html (test if this is working - if not use a newer version of STS)

    - Before the </head> put this piece of code:

     

    <link rel="stylesheet" type="text/css" href="http://www.yoursite.com/ext/jQuery/themes/smoothness/ui.all.css">
    
    
    <script type="text/javascript" language="javascript" src="http://www.yoursite.com/ext/jQuery/jQuery.js"></script>
    <script type="text/javascript" language="javascript" src="http://www.yoursite.com/ext/jQuery/jQuery.ajaxq.js"></script>
    <script type="text/javascript" language="javascript" src="http://www.yoursite.com/ext/jQuery/jQuery.pstrength.js"></script>
    <script type="text/javascript" language="javascript" src="http://www.yoursite.com/ext/jQuery/jQuery.ui.js"></script>
    <script type="text/javascript" language="javascript" src="http://www.yoursite.com/includes/checkout/checkout.js"></script>

     

     

    - Before the </body> put this piece of code (it's the same code in checkout.php):

     

    <!-- dialogs_bof //-->
    <div id="loginBox" title="Log Into My Account" style="display:none;"><table cellpadding="2" cellspacing="0" border="0">
    <tr>
     <td class="main"><?php echo ENTRY_EMAIL_ADDRESS;?></td>
     <td><?php echo tep_draw_input_field('email_address');?></td>
    </tr>
    <tr>
     <td class="main"><?php echo ENTRY_PASSWORD;?></td>
     <td><?php echo tep_draw_password_field('password');?></td>
    </tr>
    <tr>
     <td colspan="2" align="right" class="main"><a href="<?php echo tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL');?>"><?php echo TEXT_PASSWORD_FORGOTTEN;?></a></td>
    </tr>
    <tr>
     <td colspan="2" align="right"><?php echo tep_image_button('button_login.gif', IMAGE_BUTTON_LOGIN, 'id="loginWindowSubmit"');?></td>
    </tr>
    </table></div>
    <div id="addressBook" title="Address Book" style="display:none"></div>
    <div id="newAddress" title="New Address" style="display:none"></div>
    
    <!-- dialogs_eof//-->
    

     

     

    And then it should work! I have modified a lot - but I think this is the basic instructions.

  11. I have a problem with the Discount Coupon Codes Module. Don't know if I'm the only having this problem.

    The 'Max Use' and 'Number Available' isn't working. It works when I disable One Page Checkout - but not when I enable it. If I set Max Use to 1 and I use the coupon unlimited.

     

    I really appreciate if someone could check if I did something wrong - or is this a general problem?

  12. Sorry about the last post. The code in the checkout.php.html is:

     

    <!-- dialogs_bof //-->
    <div id="loginBox" title="Inloggen" style="display:none;"><table cellpadding="2" cellspacing="0" border="0">
    <tr>
     <td class="main"><?php echo ENTRY_EMAIL_ADDRESS;?></td>
     <td><?php echo tep_draw_input_field('email_address');?></td>
    </tr>
    <tr>
     <td class="main"><?php echo ENTRY_PASSWORD;?></td>
     <td><?php echo tep_draw_password_field('password');?></td>
    </tr>
    <tr>
     <td colspan="2" align="right" class="main"><a href="<?php echo tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL');?>"><?php echo TEXT_PASSWORD_FORGOTTEN;?></a></td>
    </tr>
    <tr>
     <td colspan="2" align="right"><?php echo tep_image_button('button_login.gif', IMAGE_BUTTON_LOGIN, 'id="loginWindowSubmit"');?></td>
    </tr>
    </table></div>
    <div id="addressBook" title="Address Book" style="display:none"></div>
    <div id="newAddress" title="New Address" style="display:none"></div>
    <!-- dialogs_eof//-->

  13. Another STS problem:

     

    When set: Show Oscommerce Columns false ;

    The original header shows up beneath the STS created header.

     

    When set: Show Oscommerce Columns true;

     

    The original header dissapears and all looks good , however , then the ajax (pop-up)login stops working , and it also not re-direct to the default login.

     

     

    Put this code before the </body> tag in the checkout.php.html

     

    <!-- dialogs_bof //-->
    <div id="loginBox" title="Log Into My Account" style="display:none;"><table cellpadding="2" cellspacing="0" border="0">
    <tr>
     <td class="main">E-mail adres:</td>
     <td><input type="text" name="email_address"></td>
    </tr>
    <tr>
     <td class="main">Wachtwoord:</td>
     <td><input type="password" name="password" maxlength="40"></td>
    </tr>
    <tr>
     <td colspan="2" align="right" class="main"><a href="https://www.domain.com/password_forgotten.php">Password forgotten? Click here.</a></td>
    </tr>
    <tr>
     <td colspan="2" align="right"><img src="includes/languages/dutch/images/buttons/button_login.gif" width="128" height="24" id="loginWindowSubmit" border="0" alt="Inloggen" title="Inloggen"></td>
    </tr>
    </table></div>
    <div id="addressBook" title="Address Book" style="display:none"></div>
    <div id="newAddress" title="New Address" style="display:none"></div>
    <!-- dialogs_eof//-->

     

    It's working for me!

  14. Same problem here. My shop worked fine with STS Plus 4.0.7 but after the upgrade my screen is blank. If I disable STS in the admin the shop is working fine!

    Double checked everything (i hope...) but it doesn't work.... (I also have headertags installed)

     

    Replaced sts.php in the includes/classes with the old 4.0.7 version and now it works! What changed in the new sts.php? Strange.....

  15. Same problem here. My shop worked fine with STS Plus 4.0.7 but after the upgrade my screen is blank. If I disable STS in the admin the shop is working fine!

    Double checked everything (i hope...) but it doesn't work.... (I also have headertags installed)

  16. has anyone managed to find a working solution to using this mnod with STS???

     

    Yes.. I copied application_top.php and application_bottom.php (in catalog/includes) to application_top2.php and application_bottom2.php. Removed the STS code from these new files.

    Then I replace in print_my_invoice.php this:

     

     require('includes/application_top.php');

     

    to

     

     require('includes/application_top2.php');

     

    and

     

    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

     

    to

     

    <?php require(DIR_WS_INCLUDES . 'application_bottom2.php'); ?>

×
×
  • Create New...