Jump to content

bfchris

Members
  • Content count

    32
  • Joined

  • Last visited

Profile Information

  • Real Name
    Chris beard
  1. bfchris

    Easy Discount

    application_top before last ?> if ($cart->count_contents() > 0) { $begin = "10 April 2006"; $end = "25 April 2006"; $this_day = strtotime("now"); $date1 = strtotime($begin); $date2 = strtotime($end); if (($this_day >= $date1) and ($this_day <= $date2)) $easy_discount->set('DATEDISC1', '10% discount from '. $begin.' to '.$end,$cart->show_total()*0.1); } else { $easy_discount->clear('DATEDISC1'); } this code looks to be perfect for me to use..I have a client that has anticipated ship dates one and two yrs in advance that they wish to apply discounts for if they order more than say 5 items. I have a ship date field in the db..how do I use the above code to pull from the ship_date table and add the discount? This should be easy and the contribution is almost too easy to use for orders right now..but this future stuff is killing me ;) can anyone help? -bf
  2. bfchris

    Easy Discount

    Boxtel: How would I make this code work if I have a table that has "ship_date" in it? In other words, this code snippet is almost perfect..but not quite. I want to offer a discount based on an order with a ship date of 2007 for a quantity of 5 or more products ordered. I think I just need to modify this code to use jan107-dec3107 as a date parameter..but how do I get the code to check/verify against the ship_date in a table? big thanks.. -bf
  3. bfchris

    Easy Discount

    boxtel: thanks for the info..dumb question..how / what is the code to add such a thing? how would I do that? -bf
  4. bfchris

    Easy Discount

    boxtel: How do I go about implementing such a facility? I mean, what would the best way of doing that be? (I apologize if it sounds like a dumb question, I just have no idea on how to do that). Thanks -bf
  5. bfchris

    Easy Discount

    Just a generic advance of one yr or two years from order...Is something like that even possible? Thanks for the reply btw.. -bf
  6. bfchris

    Easy Discount

    Is it possible to add a discount say one year out or longer? What I am trying to do is add a discount as a percentage if a certain # of products is ordered, say one year in advance..is that possible? Big thanks in advance.. -bf
  7. bfchris

    Basic Design Pack Support

    quick question: my client's site: http://www.rpg.com/osc I have changed the pages to not use the CSS buttons, which works fine. However, in Categories listing products, the CSS buttons still show, ie. Equipment. How do I turn these off? -bf
  8. Quick question: If I'm using the sample text file included as my base, how do I add the Model#, and the Model# that my clients assign? For instance, they want the manufacturers part # and their part # as well... -bf
  9. got it Ken..thanks for all your help..*whew* (wipes sweat from brow)..now I can get this done for my client.. -bf
  10. oh yeah..big thanks Ken.. -bf
  11. another test...it did work (sortof) just didn't pull my images over..why is that? File uploaded. Temporary filename: /var/tmp/php007070 User filename: EP.txt Size: 1645 | HP DesignJ | images/hp/ | HP DesignJ | kickazz pr | | 1000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inkjet Bon | | | | !New Product! | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No products_model field in record. This line was not imported the products_model field..does this have to be a #? Also, what directory do the pics have to be in? -bf
  12. made the changes..this is what I get: File uploaded. Temporary filename: /var/tmp/php018496 User filename: EP.txt Size: 1645 | HP DesignJ | images/hp/ | HP DesignJ | kickazz pr | | 1000 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inkjet Bon | | | | !New Product! 1136 - Column count doesn't match value count at row 1 INSERT INTO products ( products_image, products_model, products_price, products_status, products_last_modified, products_date_added, products_date_available, products_tax_class_id, products_weight, products_quantity, manufacturers_id) VALUES ( 'images/hp/500.gif', 'HP DesignJet 500', '1000', '1', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, NULL, '', '', '1', '', 'NULL') [TEP STOP]
  13. I am having the exact same error..the fix listed a few pages back: "1. Look for p.products_hide_from_groups in easypopulate.php and comment it out (or just delete the whole line). There should be 2 instances in the file. 2. Try and see if it works. If not go to your excel file and find v_products_hide_from_groups and delete that column and try to upload again." Isn't working either... This shouldn't be that difficult to get working..really -bf
  14. bfchris

    Errors uploading file with Easy populate

    hopefully we get some responses..there was a fix on that forum, but it didn't work. -bf
  15. bfchris

    Errors uploading file with Easy populate

    I too, am having the exact same prob..there HAS to be a fix for this you know?? -bf
×