Jump to content

lostsoulz

Members
  • Content count

    15
  • Joined

  • Last visited

  1. lostsoulz

    Australia Post Shipping Question

    did u run the whole sql file or just the insert statements?
  2. lostsoulz

    Australia Post Shipping Question

    Hi, you can try http://addons.oscommerce.com/info/648 use version 3.011c for parcels and version Flat Rate Files to use for Satchels b for satchels I've made some editing in the austpost file to reflect the correct prices. Files changed are in catalog->includes->modules->shipping the changes made is in this topic http://forums.oscommerce.com/index.php?showtopic=342176 a live store that i'm using is at posneeds.com.au i hope that helps
  3. lostsoulz

    AustPost bug in calculation

    i was having problems with the total weight orders that is above 20kg as the shipping charges is ridiculously high and i realise that the shipping_num_boxes is calculated twice. Problem: $shipping_auspost_cost = (($charge/1.1)* $shipping_num_boxes); Solution: $shipping_auspost_cost = $charge/1.1; we do not need to calculate the shipping_num_boxes as it has already been calculated in "http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=$frompcode&Destination_Postcode=$topcode&Country=AU&Weight=$sweight&Service_Type=STANDARD&Height=$sheight&Width=$swidth&Length=$slength&[b]Quantity=$shipping_num_boxes[/b]"); I'm still wondering is there a reason to do this ($charge/1.1)? I've changed it to shipping_auspost_cost = $charge
  4. lostsoulz

    Another AustPost Post ;)

    is there a way which i can edit the module to be able to handle all the items in the cart which amount to > 20kg? coz the one from ebay is able to do it. also what is the difference between http://addons.oscommerce.com/info/4610 and the one that im using which is http://addons.oscommerce.com/info/648
  5. lostsoulz

    Another AustPost Post ;)

    Hi, with all the austpost module requests going on i hope my problem wont be left out :rolleyes: whenever my total order weight gets above 20kg, the shipping method displays "This is currently the only shipping method available to use on this order." my settings are.... AusPOST Parcel Post Enable auspost True Dispatch Postcode 2000 Enable Insurance False Insurance Base Cost 4.35 Insurance Addition Cost 1.15 Insurance Unit Size 100 Maximum Weight (kg) 20 Handling Fee 5.00 Parcel Height (mm) 100 Parcel Width (mm) 100 Parcel Depth (mm) 100 Shipping Zone Australian Zones Tax Class --none-- Sort order of display. 1 any help is greatly appreciated
  6. Great contrib! Is there anyway that i can find out my provider's settings if its not listed in http://www.notepage.net/smtp.htm
  7. lostsoulz

    PDF Catalog v.1.5

    Solved the above problem... I dont know whether there will problems in the future but this is what i did. in pdf_catalogue_info2.php right at the end uncheck this code: //echo "</font><center><a href=\"$file_PDF\" target=\"_blank\"><font size=2><b>Download</b></font><br><br>"; I hope this helps.. Coz mine worked after i uncheck them
  8. lostsoulz

    PDF Catalog v.1.5

    I think there's some problem with the script... i can get it running in my test folder but when i transfer it to my main folder the "download" word does'nt come out. But in the catalogues/ folder, the script successfully generates the category_X.pdf. Any one encouter this problem?
  9. lostsoulz

    PDF Catalog v.1.5

    Finally i've found out what my problem was... It has nothing to do with while($k>0) { Or $destination =DIR_FS_CATALOG."catalogues/"; My problem is my files cant be created UNLESS my permissions are set as 777 to the 'catalogues' folder. IF it is set it as 755 i'll get the error :thumbsup:
  10. lostsoulz

    PDF Catalog v.1.5

    Yup same here... i did the changes still the same. categories_X.pdf didnt generate
  11. lostsoulz

    PDF Catalog v.1.5

    Did i insert it correctly? for pdf_catalogue_info2.php echo "<style type=\"text/css\">" .".mini {font-size: 1pt;};" ."</style>" ."<link rel=\"stylesheet\" type=\"text/css\" href=\"../stylesheet.css\"><center><br><a href=\"$file_PDF\" target=\"_blank\"><font size=2 face=verdana><b>Download</b></font></center>" ."<font color=#FFFFFF class=mini>"; //Neuerung ab Version 1.6 if (isset($PDF_ACTION)){ //Exportieren der Daten aus dem "Array" zur?ck in das wirkliche Array!!! $KATEGORIE_SELECTED = explode("|", $KAT_SELECTED_ARRAY); define('FPDF_FONTPATH','font/'); require('pdf_config.php'); require('pdf_fpdf.php'); require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PDF_KATALOG); function tep_get_languages_directory($code) { global $languages_id; $language_query = tep_db_query("select languages_id, directory from " . TABLE_LANGUAGES . " where code = '" . tep_db_input($code) . "'"); if (tep_db_num_rows($language_query)) { $language = tep_db_fetch_array($language_query); $languages_id = $language['languages_id']; return $language['directory']; } else { return false; } } function tep_get_languages() { $languages_query = tep_db_query("select languages_id, name, code, image, directory from " . TABLE_LANGUAGES . " order by sort_order"); while ($languages = tep_db_fetch_array($languages_query)) { $languages_array[] = array('id' => $languages['languages_id'], 'name' => $languages['name'], 'code' => $languages['code'], 'image' => $languages['image'], 'directory' => $languages['directory']); } return $languages_array; } // Count how many products exist in a category // TABLES: products, products_to_categories, categories function tep_products_in_category_count($categories_id, $include_deactivated = false) { $products_count = 0; if ($include_deactivated) { $products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$categories_id . "'"); } else { $products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = p2c.products_id and p.products_status = '1' and p2c.categories_id = '" . (int)$categories_id . "'"); } $products = tep_db_fetch_array($products_query); $products_count += $products['total']; $childs_query = tep_db_query("select categories_id from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$categories_id . "'"); if (tep_db_num_rows($childs_query)) { while ($childs = tep_db_fetch_array($childs_query)) { $products_count += tep_products_in_category_count($childs['categories_id'], $include_deactivated); } } return $products_count; } $products_index_array; ......
  12. lostsoulz

    PDF Catalog v.1.5

    i can generate the whole catalog but i cant get the categories to work.. all i get is this error The requested URL /test/catalogues/categories_1.pdf was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Any one can enlighten me? Besides that y does it create 3 files? what are the differences between these files?
×