Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
  • Location
  • Website

Recent Profile Visitors

7,769 profile views
  1. pchem

    HoneyPot Captcha

    Thanks again Jack! I got the contact_us.php working with the revision you provided. At about line 309 in create_account.php I ended up just trying the code recommended in the install file even though the commands looked quite a bit different, and it seems to be working fine.
  2. pchem

    HoneyPot Captcha

    Thanks for the add-on @Jack_mcs. I installed the MS2 v1.10 on my v2.2 RC2a based site, but there are some differences I am running into. Emails are not being sent from catalog/contact_us.php and it just returns to the catalog/contact_us.php page like nothing happened. In catalog/contact_us.php the directions state to: FIND: <?php echo tep_draw_form('contact_us', tep_href_link('contact_us.php', 'action=send'), 'post', 'class="form-horizontal"', true); ?> REPLACE WITH: <?php //BEGIN HONEYPOT ?> <?php echo tep_draw_form('contact_us', tep_href_link('contact_us.php', 'action=send'), 'post', ' onsubmit="return validateMyForm();" class="form-horizontal"', true); ?> <?php //END HONEYPOT ?> My version has this on line 105 instead: <?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send')); ?> I tried to replace it with this: <?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send'), 'onsubmit="return validateMyForm();"'); ?> Should I have done something different? Likewise, in catalog/create_account.php the directions state to find: <?php echo tep_draw_form('create_account', tep_href_link('create_account.php', '', 'SSL'), 'post', '', true) . tep_draw_hidden_field('action', 'process'); ?> REPLACE WITH: <?php //BOC Honeypot ?> <?php echo tep_draw_form('create_account', tep_href_link('create_account.php', '', 'SSL'), 'post', 'class="form-horizontal" onSubmit="return validateMyForm(create_account);"', true) . tep_draw_hidden_field('action', 'process'); ?> <?php //EOC Honeypot ?> Instead, on line 309 I found: <?php echo tep_draw_form('create_account', tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onSubmit="return check_form(create_account);"') . tep_draw_hidden_field('action', 'process'); ?> And changed it to: <?php echo tep_draw_form('create_account', tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'class="form-horizontal" onSubmit="return validateMyForm(create_account);"',) . tep_draw_hidden_field('action', 'process'); ?> I an getting a syntax error, but I don't know enough to know what is wrong. Will someone please point me in the right direction?
  3. I was able to get the most expensive rate automatically selected by doing the following: In catalog/includes/classes/shipping.php at line 111 I changed: if ($rates[$i]['cost'] < $cheapest['cost']) { To: if ($rates[$i]['cost'] > $cheapest['cost']) { Just the less than "<" to greater than ">" was changed to automatically select the most expensive method radio button. Ideally, I want to change it to automatically select 2-Day for USA and most expensive for rest of world. This idea may work in catalog/includes/classes/shipping.php, but I still do not know how to write the "if, then" statements. Can anyone help me out?
  4. I am using FedEx_1_4-webservices_v9_4_2 on a v2.2 RC2 store. I only ship with FedEx, but I want the 2-day radio button to be automatically selected by default, not cheapest (i.e. Ground Shipping). What code have others used or what can be done to select the radio button by default (other than cheapest) in this FedEx shipping module?
  5. pchem

    FedEx Direct 2.06 Support thread

    My shop is running v2.2 RC2 with FedEx module 2.07 and an update. It acted the same way. What I did to fix this is go to the admin control panel for modules. Click shipping, then Federal Express. Edit the following to suit your needs: Max. weight Max. quantity of ship boxes These values are NOT only for when the FedEx site is disabled, but are also used for the ship separately function. My values were set to low for some of my heavy items. I arbitrarily picked 10 for the number of boxes and 150 pounds. Now it seems to be working fine.
  6. pchem

    FedEx Direct 2.06 Support thread

    Mine acts the same. Any fixes for it?
  7. pchem

    FedEx Direct 2.06 Support thread

    Can anyone please help????
  8. pchem

    Shipping Surcharge for Certain Items

    burt, How would one do this with the FedEx Direct module that I inquired about here.
  9. pchem

    FedEx Direct 2.06 Support thread

    My shop is a v2.2 RC2a with FedEx Direct 2.07 (and upgraded to 2.07.1 with the patch fedex1.php). I only use FedEx as a shipping method. It has worked fine for the last year, but now I need to ship some items separately since they require Hazmat shipping. My problems are now two fold: Problem 1: When I check the "Ship Separately" box for "Product A" in the admin>catalog>Categories/Products product descriptions and either 2 or more of "Product A" are purchased on the website or "Product A" + any other product are purchased together, then no shipping options are offered. One "Product A" alone brings up FedEx just fine at checkout. I have changed the sort order of the FedEx shipping module as outlined here, but it made no difference. What is needed for the "Ship Separately" option to work? Problem 2: I want to add a $20.00 Hazmat surcharge to about 25 specific items in my store. I want these items to ship separately (individually if possible) from non-Hazmat items. If non-Hazmat item are also in the cart, I want the customer to still choose what FedEx service they want for those items. I read about making an array on this post. Has anyone written an array like that for the FedEx Direct module? Where would this array be inserted in catalog>includes>modules>shipping>fedex1.php? Has anyone successfully used Individual Product Shipping Methods or Individual Product Shipping Prices with the FedEx Direct module?
  10. pchem

    Paypal Express Missing Address Line

    I just installed the "Second Address Line" contribution on my store (my site is v2.2 RC2) where I have been using PayPal Direct 1.1. I am still working up to testing the 2nd address, but from this page PayPal suggest that the second address is not required (see Table 4.7 CardOwner: AddressType Fields). Did you get the 2nd address working properly for you?
  11. pchem

    How do you add an 2nd address line?

    I'd try the "Second Address Line" contribution.
  12. I seem to have it working in IE now. I had changed the "Sub level menu" width (width: auto; /*sub menu width*/). Just an FYI...Setting it back to a fixed width may have helped.
  13. Any thoughts? Your help would be greatly appreciated! :)
  14. Thanks again for the contribution. I have it up and running and it works perfectly using Mozilla/Firefox, but with Internet Explorer (IE 6 and IE 7) all the parent categories of the pop out menu are displayed, but many of the children or sub categories are missing. For example the x-linker section has three sub categories, but only two are listed in the menu. Is there a known reason for this?
  15. Thanks again Sam! I'll check those out on my demo site and see if I can get the desired effect. I want to eliminate page rank duplicate content penalties that I might be receiving. In some regard I'd like to mimic the effect this site is using. They have parent categories with children products of different packaging sizes, yet there is only one product info page per product. Can anyone tell what contributions might have been used there?