Jump to content

jdcdesigns

Members
  • Content count

    27
  • Joined

  • Last visited

1 Follower

Profile Information

  1. jdcdesigns

    EasyPopulate - General questions

    Im not sure if this will help you, but I think its worth it to give it a go: 23 Jun 2005 - Easypopulate Attributes Optimization http://www.oscommerce.com/community/contributions,500 I had a database of 1600 products with over 250,000 different attributes, and originally it would take up to 18 minutes (if the script didnt timeout first) Now it takes about 20 seconds. ---sweet (Times may vary for you based on your server) All this optimization does is first load the entire attributes and options tables into an arrays. Then while its going product by product, it no longer makes a seperate mysql query calls, it just grabs the data from the existing array. Will work on EP v2.4+
  2. jdcdesigns

    Beefing/Speeding Up Easypopulate

    Im not sure if this will help you, but I think its worth it to give it a go: 23 Jun 2005 - Easypopulate Attributes Optimization http://www.oscommerce.com/community/contributions,500 I had a database of 1600 products with over 250,000 different attributes, and originally it would take up to 18 minutes (if the script didnt timeout first) Now it takes about 20 seconds. ---sweet (Times may vary for you based on your server) All this optimization does is first load the entire attributes and options tables into an arrays. Then while its going product by product, it no longer makes a seperate mysql query calls, it just grabs the data from the existing array. Will work on EP v2.4+
  3. I just wanted to add a quick note to this thread about a really quick optimiation you can do for you easypopulate.php script. 23 Jun 2005 - Easypopulate Attributes Optimization http://www.oscommerce.com/community/contributions,500 I had a database of 1600 products with over 250,000 different attributes, and originally it would take up to 18 minutes (if the script didnt timeout first) Now it takes about 20 seconds. ---sweet (Times may vary for you based on your server) All this optimization does is first load the entire attributes and options tables into an arrays. Then while its going product by product, it no longer makes a seperate mysql query calls, it just grabs the data from the existing array. Will work on EP v2.4+
  4. jdcdesigns

    Price Breaks and customer groups???

    Jan Zonjee Has already submitted a contribution that combines Customer groups and Price Breaks per quantity: "Quantity Price Breaks for Separate Pricing Per Customer" http://www.oscommerce.com/community/contributions,3039
  5. jdcdesigns

    How do i do this?

    Hi Peter, Have you considered using different Pricing groups alltogether? http://www.oscommerce.com/community/contri...earch,wholesale This mod will allow you to set prices for Group A, Group B, etc. And you can easily assign which customers are part of which pricing group. I do not think, it adjust the shipping price, however if you adjust the pricing for this certain items to be .50 more, or $1.50 more, it would not also have to adjust the shipping.
  6. I was wondering if there were any contributions out there that would allow me to have selectable product description attibutes. For instance, if I am selling DVDs, I would quickly select if the DVD has: Widescreen Speacial Features THX Dolby 5.1 It would function much the same as the current product attributes, only it isn't really selectable, such as t-shirt size. Because you don't choose whether the DVD has widescreen or not. It is simply a list of the features for that product. This would be especially handy for users searching for only DVDs that have THX. Thanks!
  7. jdcdesigns

    [Contribution] Ship In Cart

    I have fixed the UPS ship-in-cart problem with the rates getting doubled in the order total: Read more details here: http://forums.oscommerce.com/index.php?showtopic=61881
  8. jdcdesigns

    New UPS XML Shipping Module available

    I have added a quick fix for this bug of the shipping rate doubling in the order total: Read more details here: http://forums.oscommerce.com/index.php?showtopic=61881
  9. jdcdesigns

    UPSXML shipping total double? Ship-in-cart?

    I also had this problem.... It is because the upsxml was not resetting the quantity to zero before re-checking, so it was basically adding onto itself in the order total: I have also added this quick bugfix to the contributions page upsxml.php,v 1.1.3a 2004/12/12 To fix manually, edit 1 file : (I have only checked that this fix works on version): upsxml.php,v 1.1.3 2004/11/27 #in catalog/includes/modules/shipping/upsxml.php #Around line 200 #FIND // The old method. Let osCommerce tell us how many boxes, plus the weight of each (or total? - might be sw/num boxes) ? ? ? ? ? #Right below that line ADD: $this->items_qty = 0; //reset quantities That's it.
  10. jdcdesigns

    Choose Your Recipients for Contact Us Page

    Radio bug fixed! http://forums.oscommerce.com/index.php?act...t=0#entry255595
  11. jdcdesigns

    [Contribution] Improvments to Contact Us Page

    Hi there, I fixed the bug.. You can download the latest file here Or... for a quick fix, Open your shop/contact_us.php REPLACE: 'send_to', $k WITH 'send_to', "$k"
  12. The modifcation creates a drop down list, or at list with radio buttons.. of email recipients for your contact us page. So someone visiting your store, can choose where the email should go -> Sales Billing Customer Service etc. Once the modification is installed, you can update the list easily from your OSC admin page Download Here INSTALLATION: --------------------------------------- BACK UP THESE FILES BEFORE PROCEEDING! contact_us.php includes/languages/english/contact_us.php (it would also be a good idea to make a backup of your database) --------------------------------------- 1.) Run the following mySQL query in phpMyadmin, or use the contact_us.sql file provided. INSERT INTO configuration SET configuration_title='Set "Contact Us" Email List', date_added=NOW(), sort_order='11', configuration_group_id='1', configuration_key='CONTACT_US_LIST', configuration_value= '', configuration_description='On the "Contact Us" Page, set the list of email addresses , in this format: Name 1 <email@address1>, Name 2 <email@address2>', use_function = NULL , set_function = NULL; 2.) EDIT THE FOLLOWING FILES: ###### contact_us.php ###### FIND: tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); REPLACE WITH: if (CONTACT_US_LIST !=''){ $send_to_array=explode("," ,CONTACT_US_LIST); preg_match('/\<[^>]+\>/', $send_to_array[$send_to], $send_email_array); $send_to_email= eregi_replace (">", "", $send_email_array[0]); $send_to_email= eregi_replace ("<", "", $send_to_email); tep_mail(preg_replace('/\<[^*]*/', '', $send_to_array[$send_to]), $send_to_email, EMAIL_SUBJECT, $enquiry, $name, $email_address); }else{ tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); } FIND: <tr> <td class="main"><?php echo ENTRY_NAME; ?></td> REPLACE WITH: <?php if (CONTACT_US_LIST !=''){ echo '<tr><td class="main">'. SEND_TO_TEXT. '</td></tr>' .'<tr><td class="main">'; if(SEND_TO_TYPE=='radio'){ foreach(explode("," ,CONTACT_US_LIST) as $k => $v) { if($k==0){ $checked=true; }else{ $checked=false; } echo tep_draw_radio_field('send_to', $k, $checked). " " .preg_replace('/\<[^*]*/', '', $v)."<br>\n"; } }else{ foreach(explode("," ,CONTACT_US_LIST) as $k => $v) { $send_to_array[] = array('id' => $k, 'text' => preg_replace('/\<[^*]*/', '', $v)); } echo tep_draw_pull_down_menu('send_to', $send_to_array); } echo "\n</td></tr>\n"; } ?> <tr> <td class="main"><?php echo ENTRY_NAME; ?></td> ###### includes/languages/english/contact_us.php ###### FIND: ?> INSERT BEFORE: define('SEND_TO_TEXT', 'Send Contact Form To:'); define('SEND_TO_TYPE', 'radio'); //this will create a radio buttons for your contact list //define('SEND_TO_TYPE', ''); Change to this for a dropdown menu. //END
  13. jdcdesigns

    Choose Your Recipients for Contact Us Page

    Download Here Added the option for a drop down menu or radio buttons. Also included are fresh install intructions as well as upgrade instructions.
  14. jdcdesigns

    Choose Your Recipients for Contact Us Page

    Thats actually a pretty good idea. I will work on making it an option to have radios or a pull down! Thanks for the feedback!
  15. The modifcation creates a drop down list of email recipients for your contact us page. You can specify where there email should go: Sales Billing Customer Service etc. Once the modification is installed, you can update the list easily from your OSC admin page. Click Here to Download Please leave any question/comments!
×