Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tross

Pioneers
  • Posts

    6
  • Joined

  • Last visited

Profile Information

Tross's Achievements

  1. Is the tax amount appearing in the value field of the orders_total table in the database? If not you could try pulling it from the text field instead.
  2. additional changes needed for last post to work in admin/includes/classes/order.php find $order_total_query = tep_db_query("select text from " . TABLE_ORDERS_TOTAL . " where orders_id = '" . (int)$order_id . "' and class = 'ot_total'"); $order_total = tep_db_fetch_array($order_total_query); add below: $sales_tax_query = tep_db_query("select title,value from " . TABLE_ORDERS_TOTAL . " where orders_id = '" . (int)$order_id . "' and class = 'ot_tax'"); $sales_tax = tep_db_fetch_array($sales_tax_query); in the $this->info array add 'sales_tax' => strip_tags($sales_tax['value']),
  3. In admin/quickbooks_export_orders.php in the set sales tax details section - line 212 replace: $transaction_detail_amount = 0; with $transaction_detail_amount = '-' . $order->info['sales_tax'];
  4. After you have installed pricematch. Search catalog/product_info.php and find:- $this_Price = $product_info['products_price']; replace it with if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $this_Price = $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])); } else { $this_Price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); } This has to be entered into the product_info.php file in root folder of your shop, not in the language folder so it doesn't matter what language your shop is using. Regards Tross
  5. In the product_info.php file pricematch entry replace $this_Price = $product_info['products_price']; with if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $this_Price = $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])); } else { $this_Price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); } This works for me using the VAT price it also shows special prices. You can see it working at http://www.gr8fires.co.uk
  6. Install as instructed but skip the part where you're asked to " Edit either catalog/includes/column_left.php or catalog/includes/column_right.php ". Edit catalog/includes/modules/sts_inc/sts_user_code.php and add at the bottom before ?> $sts->start_capture(); require(DIR_WS_BOXES . 'recently_viewed.php'); $sts->stop_capture('recent', 'box'); Edit your sts template and add into the right or left column $recent That's it. It works for me.
×
×
  • Create New...