Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
  1. yeahyeahyeah

    Export Module

    a great class for this is called cbmysql. i think you can find it on sourceforge. i've used it in the past to make quick and dirty CSVs. just put the class in your php lib path. <? include ('/usr/lib/php/cbmysql.class.php'); include ('includes/application_top.php'); $m=new MySQL; $m->init(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE); $m->select2csv("SELECT * from customers;"); $m->close(); ?>
  2. yeahyeahyeah

    PDF Packing Slip

    you'll need to take a look at orders.php and how that file display's product attribs. at the top of invoice.php for instance, $order=new order($oID) creates your order, now you have to loop through the product options for ($i=0, $n=sizeof($order->products); $i<$n; $i++) and print them out.
  3. yeahyeahyeah

    PDF Invoice. Change Layout

    probably invoice.php and packingslip.php. i'm doing this too. check out the fpdf/doc and fpdf/tutorial pages that come with the contrib
  4. yeahyeahyeah

    [Contribution] - USPS Methods

    how can priority be cheaper than parcel?!
  5. no i didn't BUT i did find the fix. it is in application_top.php //if (is_numeric($key) && $key==(int)$key && is_numeric($val) && $val==(int)$val)//comment this out to allow TEXT as a sole attribute...otherwise it is never applied to the cart maybe this contrib does not have this problem out of the box, but commenting this line out works with the contribs i have...and qt pro is the only one i can think of that deals with the same functionality
  6. when I add a TEXT field as a sole attribute, it never shows up in the cart/checkout
  7. yeahyeahyeah

    [Contribution] - USPS Methods

    does anyone have a discrepancy between the reported order_total and the rates returned from USPS? i see it when i add weight to a product. i have correct rates in checkout_shipping, but the whole order_total seems to ignore difference in weight.
  8. yeahyeahyeah

    [Contribution] - USPS Methods

    just wanted to add in something i found useful. if you would like to show on your catalog/checkout_shipping.php page what type of USPS service you're selecting...change this line from <td class="main" width="75%" align="left"><?php echo $quotes[$i]['module']; ?></td> to <td class="main" width="75%" align="left"><?php echo $quotes[$i]['module'].' '. $quotes[$i]['methods'][$j]['title']; ?></td> you will get United States Postal Service EXPRESS (1 - 2 Days) on your catalog/checkout_shipping.php page instead of just United States Postal Service next to each option
  9. yeahyeahyeah

    [Contribution] - USPS Methods

    i'm using 2.8 in the changelog it says Changes since v2.6a * Fixed the parcel post bug where the parcel postage would be greater than priority mail. and i still have parcel showing greater than priority. anyone still getting this?
  10. i don't think froogle cares if you have ugly urls, they should still work with mod_rewrite. you don't need to have seo urls for froogle's service to work currectly, you're feeding it directly to them?!?
  11. i jury rigged a fix. i'm thinking this can be done in the seo class, but i did it in includes/classes/split_page_results.php if the other class is a better way, any help working this is appreciated. i replaced var $sql_query, $number_of_rows, $current_page_number, $number_of_pages, $number_of_rows_per_page, $page_name; with var $sql_query, $number_of_rows, $current_page_number, $number_of_pages, $number_of_rows_per_page, $page_name, $dummy; then if (isset($HTTP_GET_VARS[$page_holder])) { $page = $HTTP_GET_VARS[$page_holder]; } elseif (isset($HTTP_POST_VARS[$page_holder])) { $page = $HTTP_POST_VARS[$page_holder]; } else { $page = ''; } with preg_match("/(-c-).*\.html/",$_SERVER['REQUEST_URI'],$this->dummy); if($this->dummy[1]!=NULL) {//yeahyeahyeah. if we're on a category page do this preg_match("/-pp-(\d*)\.html/",$_SERVER['REQUEST_URI'],$matches); $page = $matches[1]; } else {//any other page with splits if (isset($HTTP_GET_VARS[$page_holder])) { $page = $HTTP_GET_VARS[$page_holder]; } elseif (isset($HTTP_POST_VARS[$page_holder])) { $page = $HTTP_POST_VARS[$page_holder]; } else { $page = ''; } } then return $display_links_string; with if($this->dummy[1]!=NULL)//yeahyeahyeah. if we're on a category page do this $display_links_string=preg_replace("/(-pp-\d*)?\.html\?page=(\d*)/","-pp-$2.html",$display_links_string);//attempt to rewrite using regex return $display_links_string; category page pagination will now look like baby-burp-cloths-ribbon-only-c-21_37-pp-2.html instead of baby-burp-cloths-ribbon-only-c-21_37.html?page=2
  12. reposting just in case there are new eyes here.
  13. yeahyeahyeah

    Contribution 2094 - Image resize

    i realize that my function works for my store because i do not call tep_image() on product_info.php with any size arguments. no. there is no other code besides what i've posted.
  14. i might add that i have qt pro installed too
  15. has anyone encountered the problem i'm having... add only the TEXT option type to a product, and it never applies itself to the product in your cart. a TEXT option type works as long as I have some other type of option simultaneously available