Jump to content

beano

Members
  • Content count

    48
  • Joined

  • Last visited

  1. beano

    options - price update contribution

    Which version did you install? Version 13 dec 2007 may be what you need to correct
  2. beano

    Automated FedEx Labels

    Using a zebra LP2844ps label and am getting the following from fedex: FedEx Web Integrated Solutions Customer, The FedEx Ground Label Certification Team has received and evaluated your Ground barcode labels. Upon inspection, the following corrections will need to be made in order to complete the Ground barcode certification. Corrections Needed: 1) 1. The labels are 4x6 thermal label with scaling issues on the linear barcode and 2D barcode. The linear barcode measures in hgt 1.1" and 2.4" in width. The hgt must be atleast 1.4" and the width btw 2.78"-3.35" (17-20mil). 2. The 2D will not scan due to the scaling issues, too small. Once the above issues are addressed, please submit more labels for evaluation. Any ideas???? Also line 1369 is: ,1369 => 1 // printer type (1 is laser) Is that correct for a thermal label printer????
  3. Using a zebra LP2844ps label and am getting the following from fedex: FedEx Web Integrated Solutions Customer, The FedEx Ground Label Certification Team has received and evaluated your Ground barcode labels. Upon inspection, the following corrections will need to be made in order to complete the Ground barcode certification. Corrections Needed: 1) 1. The labels are 4x6 thermal label with scaling issues on the linear barcode and 2D barcode. The linear barcode measures in hgt 1.1" and 2.4" in width. The hgt must be atleast 1.4" and the width btw 2.78"-3.35" (17-20mil). 2. The 2D will not scan due to the scaling issues, too small. Once the above issues are addressed, please submit more labels for evaluation. Any ideas???? Also line 1369 is: ,1369 => 1 // printer type (1 is laser) Is that correct for a thermal label printer????
  4. In your product_info.php look for something that looks like: <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td class=bg3> <table cellspacing=0 cellpadding=0> <tr><td width=242 align=center valign=middle> <td valign="top"><h1>Intel Core 2 Duo E6700</h1></td> <td align="right" valign="top"><h1>£39.90GBP</h1></td> Comment out the <td align="right" valign="top"><h1>£39.90GBP</h1></td> The line will probably look something like: <td align="right" valign="top"><h1><?php echo $products_price; ?></h1></td>[/
  5. beano

    NEW! Complete Order Editing Tool!

    No. It uses its own set of classes. The code for the abxCart where that function is found in the below file: <?php /* $Id: abxCart.php,v 1.17 2007/01/13 02:16:46 auctionblox Exp $ AuctionBlox, sell more, work less! [url="http://www.auctionblox.com"]http://www.auctionblox.com[/url] Copyright © 2004 AuctionBlox */ class_exists('shoppingCart') || require_once(DIR_WS_CLASSES . 'shopping_cart.php'); class_exists('abxCheckout') || require_once(dirname(__FILE__) . '/abxCheckout.php'); class abxCart extends shoppingCart { var $email; function abxCart($email_address = '') { $this->email = $email_address; parent::shoppingCart(); } // This function does not ALWAYS set the order id, but at least it updates the status // to checked out function reset($reset_database = false, $order_id = 0) { global $abxDatabase; parent::reset($reset_database); if ($reset_database == true) { if($order_id === 0) { // find the last order id in the history table -- that's our target order. surely, we don't have // a site that is THAT active $orders_status = $abxDatabase->fetch_row("select orders_id from " . TABLE_ORDERS_STATUS_HISTORY . " order by orders_status_history_id desc limit 1"); $order_id = $orders_status['orders_id']; } // Mark the items in the shopping cart completed. $abxCheckout = new abxCheckout(); $auctionProducts = $this->internal_get_auction_products(); foreach($auctionProducts as $key => $auction) { //quick fudge to accomodate selected admin Sales Order Entry if (isset($auction['is_excluded']) && $auction['is_excluded'] === true) continue; $auctionProduct = array( 'ID' => $auction['auction_basket_id'], 'statusID' => $abxCheckout->CHECKEDOUT, 'ordersID' => $order_id ); $abxCheckout->update(null, $auctionProduct); } } } //@@deprecated function checkStatus() { } function internal_get_auction_products() { global $abxDatabase, $currencies; if (isset($this->email) === false || strlen($this->email) == 0) { if (isset($_SESSION['g_auction_email_address']) && strlen($_SESSION['g_auction_email_address']) > 0) { $this->email = $_SESSION['g_auction_email_address']; } else { global $customer_id; if (isset($customer_id) && $customer_id >= 0) { $customer = $abxDatabase->fetch_row("select customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = ". (int)$customer_id); $this->email = @$customer['customers_email_address']; } } } $abxCheckout = new abxCheckout(); $auctions = $abxCheckout->getSales($this->email); $products_array = array(); if (is_array($auctions)) { global $languages_id; foreach($auctions as $key => $auction) { $products = $abxDatabase->fetch_row("select p.products_id, pd.products_name, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_tax_class_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$auction['product_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); if (empty($products) === false) { $products_array[] = array( 'id' => $products['products_id'], 'name' => $auction['ext_title'] . " (eBay #" . $auction['ext_id'] . ", " . $auction['buyer_id'] . ")", 'model' => $products['products_model'], 'image' => $products['products_image'], 'quantity' => $auction['qty'], 'weight' => $products['products_weight'], 'currency' => $auction['currency'], 'tax_class_id' => $products['products_tax_class_id'], 'price' => $currencies->convertCurrency($auction['price_end'], $auction['currency']), 'final_price' => $currencies->convertCurrency($auction['price_end'], $auction['currency']), 'shipping_type' => $auction['shipping_type'], 'shipping' => $currencies->convertCurrency($auction['shipping'], $auction['currency']), 'shipping_global' => $currencies->convertCurrency($auction['shipping_global'], $auction['currency']), 'insurance' => $currencies->convertCurrency($auction['insurance'], $auction['currency']), 'insurance_option' => $auction['insurance_option'], 'is_auction_item' => true, 'auction_basket_id' => $auction['id'], 'item_url' => $auction['item_url'], 'attributes' => array() ); } else { $sImage = '../'.DIR_WS_MODULES.'auctionblox/images/product.gif'; // product ID not set // We can't use weight based shipping since we don't know the weight $products_array[] = array( 'id' => $auction['ext_id'], 'name' => $auction['ext_title'] . " (eBay #" . $auction['ext_id'] . ", " . $auction['buyer_id'] . ")", 'model' => '', 'image' => $sImage, 'quantity' => $auction['qty'], 'weight' => -1, 'tax_class_id' => 0, 'price' => $currencies->convertCurrency($auction['price_end'], $auction['currency']), 'final_price' => $currencies->convertCurrency($auction['price_end'], $auction['currency']), 'shipping_type' => $auction['shipping_type'], 'shipping' => $currencies->convertCurrency($auction['shipping'], $auction['currency']), 'shipping_global' => $currencies->convertCurrency($auction['shipping_global'], $auction['currency']), 'insurance' => $currencies->convertCurrency($auction['insurance'], $auction['currency']), 'insurance_option' => $auction['insurance_option'], 'is_auction_item' => true, 'auction_basket_id' => $auction['id'], 'item_url' => $auction['item_url'], 'attributes' => array() ); } } } return $products_array; } function internal_get_store_products() { // Fix for bad programming in shopping cart return parent::get_products(); } function get_products() { $store_products_array = $this->internal_get_store_products(); // Fix for bad programming in shopping cart if ($store_products_array === false) $store_products_array = array(); $auction_products_array = $this->internal_get_auction_products(); return array_merge($auction_products_array, $store_products_array); } // get total number of items in cart function count_contents() { $count = 0; foreach($this->get_products() as $key => $product) $count += $product['quantity']; return $count; } function count_auction_contents() { $count = 0; foreach($this->internal_get_auction_products() as $key => $product) $count += $product['quantity']; return $count; } function count_store_contents() { $count = 0; foreach($this->internal_get_store_products() as $key => $product) $count += $product['quantity']; return $count; } function calculate() { parent::calculate(); $auctionProducts = $this->internal_get_auction_products(); if (is_array($auctionProducts) === false) return 0; reset($auctionProducts); foreach($auctionProducts as $key => $auctionProduct) { $qty = $auctionProduct['quantity']; //$prid = $product['products_id']; $products_tax = tep_get_tax_rate($auctionProduct['tax_class_id']); $products_price = $auctionProduct['price']; $products_weight = $auctionProduct['weight']; $this->total += tep_add_tax($products_price, $products_tax) * $qty; $this->weight += ($qty * $products_weight); } } }//end class ?>
  6. beano

    NEW! Complete Order Editing Tool!

    Has anyone gotten the latest version to work with auctionblox? Getting Fatal error: Call to undefined function: count_store_contents() in /home/xxx/public_html/includes/modules/shipping/fixed.php on line 512 when attempting to access edit_orders.php. It's related to the fixed shipping module which when turned off, doesn't cause the error.
  7. beano

    PayPal WPP Direct Payments & Express Checkout Support

    Greetings dynamo, Here's an update on the Virtual Products purchase with PayPal WPP 0.92. The fix that you originally suggested works! At least with one of the CCGV mods. I initially tested it with CCGV(trad) and reported that your fix didn't work which it didn't. However I had reason to believe that there was some other issue with the CCGV(trad) mod because I was getting order emails of virtual products with the Delivery Address heading (which should not have been the case with virtual products). I posted that issue in the appropriate forum but at last look there had not been a response. In anycase, I uninstalled CCGV(trad) and installed the CCGV 5.16+ fixes mod (I had installed this one on a couple other sites) and voila, the order email doesn't show the Delivery Address heading and there's no problem purchasing with a credit card. Thanks again.
  8. beano

    PayPal WPP Direct Payments & Express Checkout Support

    Thanks for the quick reply. Unfortunately the above didn't work.
  9. beano

    PayPal WPP Direct Payments & Express Checkout Support

    I'm having the same problem with the virtual product (gift certificate) being purchased using version 0.9.2. When testing the purchase of a gift certificate using paypal direct payments with a credit card, I get the following: Error #1: Invalid Data (10726) There's an error with this transaction. Please enter a complete shipping address. Error #2: Invalid Data (10727) There's an error with this transaction. Please enter an address1 in the shipping address. Error #3: Invalid Data (10728) There's an error with this transaction. Please enter a city in the shipping address. Error #4: Invalid Data (10731) There's an error with this transaction. Please enter a country in the shipping address. Any ideas on how to fix this for this version (0.9.2)?
  10. beano

    [CONTRIBUTION] CCGV (trad)

    Greetings all! I recently install the CCGV(trad) contribution and all went well. I tested sending vouchers, sending discount coupons, redeeming and even purchasing and releasing certificates and all went well without any major issues. However I do have an issue with the order email that is sent when purchasing the certificate. I made the test purchase with check/money order and although the product is virtual, the delivery address heading along with a comma is showing: Delivery Address ------------------------------------------------------ , Billing Address ------------------------------------------------------ test user 123 any street . . . . In the checkout_process.php file there is a routine which is supposed to only show the delivery address if the product is non virtual: if ($order->content_type != 'virtual') { $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n"; } However in my case it's showing. I set up the cert with zero weight, enabled downloads and entered GIFT in the model field. Any ideas?
  11. beano

    Order Email

    Greetings all! I recently install the CCGV(trad) contribution and all went well. I tested sending vouchers, sending discount coupons, redeeming and even purchasing and releasing certificates and all went well without any major issues. However I do have an issue with the order email that is sent when purchasing the certificate. I made the test purchase with check/money order and although the product is virtual, the delivery address heading along with a comma is showing: Delivery Address ------------------------------------------------------ , Billing Address ------------------------------------------------------ test user 123 any street . . . . In the checkout_process.php file there is a routine which is supposed to only show the delivery address if the product is non virtual: if ($order->content_type != 'virtual') { $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n"; } However in my case it's showing. I set up the cert with zero weight, enabled downloads and entered GIFT in the model field. Any ideas?
  12. beano

    [Contribution] SEO-G

    Huh? There's documentation?? :huh:
  13. beano

    [Contribution] SEO-G

    Would you also consider adding a select all in the controller section? It might be convenient in cases where there are hundreds of products or categories and rather than having to check each product or category to insert, just select all.
  14. beano

    [Contribution] SEO-G

    Works like a charm. Thanks
×