Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stealth1

Pioneers
  • Posts

    335
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Stealth1

  1. Thanks for the input, the dimensions was added with the Canada Post module as I have items that are very small and very large so I needed to be able to vary the size of each package for correct postage quoting.
  2. I currently use Canada Post for the majority of my shipments but some boxes are too large for them and can only be shipped via Fedex. I have the Canada Post module working with size and weight defined for each product. Does anyone know if the Fedex module can be installed and used to view these values I already have entered?
  3. I was wondering, has the problem with tax, shipping etc not being displayed on the emailed invoice been fixed? Also I have run into an error and think it may be related to the fancier invoice. http://www.oscommerce.com/forums/topic/362522-fatal-error-using-this-when-not-in-object-context-in-storeaccount-history-infophp-on-line-243/page__p__1525554__fromsearch__1entry1525554
  4. I am getting an error that is related to this module, it only showed up now that credit card info can be used directly with direct payments. Any help is appreciated. http://www.oscommerce.com/forums/topic/362522-fatal-error-using-this-when-not-in-object-context-in-storeaccount-history-infophp-on-line-243/page__p__1525554__fromsearch__1entry1525554
  5. Just sorted this out myself, in the file admin/orders.php you have to comment out the second instance of include(DIR_WS_CLASSES . 'order.php');, mine was located just above <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
  6. Guessing this is either an error caused by PayPal standard or an error from installing WPP. When I try to access my orders section it gives me the following error Fatal error: Cannot redeclare class order in ...includes/classes/order.php on line 13
  7. I have KissER installed so it shows all the errors, I know many don't cause issues but betto to fix them I think. Thanks for the fix, seems to have gotten rid of the notice. The PayPal fee module is on the order total page, the errors show up on the payment information page first. Website Payments Standard has been uninstalled.
  8. Just installed this on my test site and before going live I need to get one thing fixed. I have a paypal fee module for the order total which adds a fixed fee + percentage to only paypal transactions. It is setup for paypal standard and I want to use it for Payments Pro now but i'm unsure of how to make the change. Below is the code for the module, is it possible to get this to work for both direct payments and express checkout? class ot_paypal_fee_fix_var { var $title, $output; function ot_paypal_fee_fix_var() { $this->code = 'ot_paypal_fee_fix_var'; $this->title = MODULE_ORDER_TOTAL_PAYPAL_TITLE; $this->description = MODULE_ORDER_TOTAL_PAYPAL_DESCRIPTION; $this->enabled = ((MODULE_ORDER_TOTAL_PAYPAL_STATUS == 'true') ? true : false); $this->sort_order = MODULE_ORDER_TOTAL_PAYPAL_SORT_ORDER; $this->output = array(); } function process() { global $order, $currencies, $paypal_fee; $titletemp = ''; if (MODULE_ORDER_TOTAL_PAYPAL_STATUS == 'true') { //check if payment method is paypal. If yes, add fee. if ($GLOBALS['payment'] == 'paypal_standard') { $paypal_fee = tep_round(((MODULE_ORDER_TOTAL_PAYPAL_FIX_FEE + (MODULE_ORDER_TOTAL_PAYPAL_FEE/100) * $order->info['total'])), $currencies->currencies[DEFAULT_CURRENCY]['decimal_places']); // check if paypal_fee is less than minimum defined if ($paypal_fee < MODULE_ORDER_TOTAL_PAYPAL_MIN_FEE) { $paypal_fee = MODULE_ORDER_TOTAL_PAYPAL_MIN_FEE; $titletemp = MODULE_ORDER_TOTAL_PAYPAL_TXT_MIN_FEE; } // check if paypal_fee is more than maximum defined if ($paypal_fee > MODULE_ORDER_TOTAL_PAYPAL_MAX_FEE && MODULE_ORDER_TOTAL_PAYPAL_MAX_FEE <> 0) { $paypal_fee = MODULE_ORDER_TOTAL_PAYPAL_MAX_FEE; $titletemp = MODULE_ORDER_TOTAL_PAYPAL_TXT_MAX_FEE; } // check if paypal fee is between max and Min // if ($paypal_fee > MODULE_ORDER_TOTAL_PAYPAL_MIN_FEE && ($paypal_fee < MODULE_ORDER_TOTAL_PAYPAL_MAX_FEE && MODULE_ORDER_TOTAL_PAYPAL_MAX_FEE <> 0)) { if ($titletemp == '') { if (MODULE_ORDER_TOTAL_PAYPAL_FIX_FEE == 0){ $titletemp = MODULE_ORDER_TOTAL_PAYPAL_FEE . '%'; } else { $titletemp = $currencies->display_price(MODULE_ORDER_TOTAL_PAYPAL_FIX_FEE,0) . '+' . MODULE_ORDER_TOTAL_PAYPAL_FEE . '%'; } } $order->info['total'] += $paypal_fee; // $this->output[] = array('title' => $this->title . ' (' . $currencies->display_price(MODULE_ORDER_TOTAL_PAYPAL_FIX_FEE,0) . '+' . MODULE_ORDER_TOTAL_PAYPAL_FEE . '%):', $this->output[] = array('title' => $this->title . ' (' .$titletemp . '):' , 'text' => $currencies->format($paypal_fee, true, $order->info['currency'], $order->info['currency_value']), 'value' => $paypal_fee); } } } function check() { if (!isset($this->_check)) { $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_ORDER_TOTAL_PAYPAL_STATUS'"); $this->_check = tep_db_num_rows($check_query); } return $this->_check; } function keys() { return array('MODULE_ORDER_TOTAL_PAYPAL_STATUS', 'MODULE_ORDER_TOTAL_PAYPAL_SORT_ORDER', 'MODULE_ORDER_TOTAL_PAYPAL_FIX_FEE', 'MODULE_ORDER_TOTAL_PAYPAL_FEE', 'MODULE_ORDER_TOTAL_PAYPAL_MIN_FEE', 'MODULE_ORDER_TOTAL_PAYPAL_MAX_FEE'); } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Display PAYPAL FEE', 'MODULE_ORDER_TOTAL_PAYPAL_STATUS', 'true', 'Do you want this module to display?', '6', '1','tep_cfg_select_option(array(\'true\', \'false\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_ORDER_TOTAL_PAYPAL_SORT_ORDER', '3', 'Sort order of display.', '6', '2', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('PAYPAL Fix Part of Fee', 'MODULE_ORDER_TOTAL_PAYPAL_FIX_FEE', '0.35', 'Your PayPal Fix part of fee in Money', '6', '3', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('PAYPAL Variable Part of Fee (%)', 'MODULE_ORDER_TOTAL_PAYPAL_FEE', '3.00', 'Your PayPal Fee in percent (%)', '6', '4', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('PAYPAL Minimum Value of Fee', 'MODULE_ORDER_TOTAL_PAYPAL_MIN_FEE', '0', 'Your PayPal Minimum value of Fee in Money <br>(0 = Disable)', '6', '5', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('PAYPAL Maximum Value of Fee', 'MODULE_ORDER_TOTAL_PAYPAL_MAX_FEE', '0', 'Your PayPal Maximum value of Fee in Money <br>(0 = Disable)', '6', '6', now())"); } function remove() { $keys = ''; $keys_array = $this->keys(); $keys_size = sizeof($keys_array); for ($i=0; $i<$keys_size; $i++) { $keys .= "'" . $keys_array[$i] . "',"; } $keys = substr($keys, 0, -1); tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in (" . $keys . ")"); } } ?> I also have this error showing on the Delivery Information page of checkout. E_NOTICE Error Count: 12 Error: Undefined index: action File: includes/paypal_wpp/paypal_wpp_include.php Line: 229 I have these errors on the Payment Information page of checkout Error: Constant MODULE_PAYMENT_PAYPAL_DP_TEXT_TITLE already defined File: includes/languages/english/modules/payment/paypal_wpp.php Line: 10 Error: Constant MODULE_PAYMENT_PAYPAL_EC_TEXT_TITLE already defined File: includes/languages/english/modules/payment/paypal_wpp.php Line: 11 Thanks in Advance
  9. Still haven't gotten a solution to the images in the reviews section working with lightbox. This is a part of the contribution and it would be nice to have it working. I have posted the code that I have in all 3 of the areas that this add-on isn't working and am hoping something can be pointed out as to why it isn't working. I have compared the files yet still the lightbox part isn't working. I have the following code above if (!tep_db_num_rows($product_info_query)) { // BOF: Additional Images: Added: , p.products_image_med, p.products_image_pop, p.products_image_description $product_info_query = tep_db_query("select p.products_id, p.products_model, p.products_image, p.products_image_med, p.products_image_pop, p.products_image_description, p.products_price, p.products_tax_class_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); // EOF: Additional Images I have the following above the </head> and I also have a setup without it but both are behaving the same <?php if (ENABLE_LIGHTBOX == 'true') { ?> <!-- BOF: Lightbox Contribution --> <script type="text/javascript" src="lightbox/prototype.js"></script> <script type="text/javascript" src="lightbox/scriptaculous.js?load=effects"></script> <link rel="stylesheet" href="lightbox/lightbox.css" type="text/css" media="screen"> <script type="text/javascript" src="lightbox/builder.js"></script> <script type="text/javascript" src="lightbox/lightbox.js"></script> <!-- EOF: Lightbox Contribution --> <?php } ?> <?php // EOF: Additional Images ?> And I have this code just below the line <?php if (tep_not_null($product_info['products_image'])) { ?> <?php // BOF: Additional Images: ?> <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_ADD_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), addslashes($product_info['products_name']), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . (!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:$product_info['products_image'])) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), $product_info['products_name'], (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> </noscript> <?php /* OLD CODE <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> */ // EOF: Additional Images: ?>
  10. I want to add the sharethis icon to all my product pages and haven't found a good contribution for this. I was wondering if I could use the file in header tags seo or would I have to make more modifications?
  11. I was wondering can I take the social bookmarking file and just upload it? I want to use Sharethis.com for social bookmarking of my site but most of the contributions seem unsupported or dead.
  12. Anyone have ShareThis as a working contribution?
  13. Yeah that's not happening, it is displaying the cPath for all items. I have "Output canonical tags for SEO" set to true in KissMT on the admin side.
  14. Yeah that's not happening, it is displaying the cPath for all items. I have "Output canonical tags for SEO" set to true in KissMT on the admin side.
  15. I do have KissMT installed at this time along with KissER and SEO Urls 5.
  16. Yeah I guess maybe I need to do some reading. I have just taken a quick look through google base and it seems like its not geared towards product sales for businesses but services. It also just looks complicated with all the stuff it says it does (tax, SEO, shipping etc). I know this probably isn't the place but how does the service work and benefit the store?
  17. Guess I as looking at the new Merchant center which appears not to support Canada specifically right now. Is there anything I should be wary of or know in advance with this. It appears to not mess with much but I want to make sure it's not going to harm anything by submitting feeds. I already have Google Sitemap setup and that seems to be working great, just don't want conflicts.
  18. Could I get some info on what I have done wrong or what is going wrong? I have SEO URLs 5 installed and Google Webmaster Tools is reporting Duplicate Title Tags for products, example is this. I have the cPath enabled obviously, is there a way to force the first version to the second? store/hawk-dtc30-06-civic-si-rear-hb145w570-p-37.html hawk-dtc30-06-civic-si-rear-hb145w570-p-37.html?cPath=27_28_29
  19. Does Froogle work for Canada Businesses, it seems to be mainly US based?
  20. I recently updated my store to a newer improved version and moved from PayPal IPN to Paypal Website Payments Standard from the stock 2.2 RC2 package. I am noticing that 90% of my orders are now having the customers address in paypal listed as unconfirmed, even for customers that I know have confirmed addresses. Can someone explain to me why this is happening? I have adjusted the settings from what I recall to make it so the address in OSC isn't passed to paypal but that hasn't seemed to change anything. I also noticed I have V1.00 of the module but the paypal site has a version 1.77 available for download. Should I update to this?
  21. Please Do It is necessary for these products to be linked in multiple sections, there is no way around this. If there was I would use it.
  22. Google is now reporting duplicate Meta and Title tags for the linked products, the issue of where the info is pulled should be fixed. It is basically removing a function of the stock OScommerce as you can no longer use it properly with KissMT installed.
  23. Todd - I understand help is voluntary but I would like to get this resolved as would others. You said above that the changes should be the same as the product_reviews.php, I have posted the code that I have in all 3 of the areas that this add-on isn't working and am hoping something can be pointed out as to why it isn't working. I have compared the files yet still the lightbox part isn't working. I have the following code above if (!tep_db_num_rows($product_info_query)) { // BOF: Additional Images: Added: , p.products_image_med, p.products_image_pop, p.products_image_description $product_info_query = tep_db_query("select p.products_id, p.products_model, p.products_image, p.products_image_med, p.products_image_pop, p.products_image_description, p.products_price, p.products_tax_class_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); // EOF: Additional Images I have the following above the </head> and I also have a setup without it but both are behaving the same <?php if (ENABLE_LIGHTBOX == 'true') { ?> <!-- BOF: Lightbox Contribution --> <script type="text/javascript" src="lightbox/prototype.js"></script> <script type="text/javascript" src="lightbox/scriptaculous.js?load=effects"></script> <link rel="stylesheet" href="lightbox/lightbox.css" type="text/css" media="screen"> <script type="text/javascript" src="lightbox/builder.js"></script> <script type="text/javascript" src="lightbox/lightbox.js"></script> <!-- EOF: Lightbox Contribution --> <?php } ?> <?php // EOF: Additional Images ?> And I have this code just below the line <?php if (tep_not_null($product_info['products_image'])) { ?> <?php // BOF: Additional Images: ?> <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_ADD_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), addslashes($product_info['products_name']), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . (!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:$product_info['products_image'])) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . (!empty($product_info['products_image_med'])?$product_info['products_image_med']:(!empty($product_info['products_image_pop'])?$product_info['products_image_pop']:(!empty($product_info['products_image'])?$product_info['products_image']:''))), $product_info['products_name'], (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_WIDTH:''), (ADDIMAGES_RESTRICT_PARENT=='true'?DISPLAY_IMAGE_HEIGHT:''), 'hspace="5" vspace="5"') . '<br>' . (!empty($product_info['products_image_description'])?$product_info['products_image_description']:TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> </noscript> <?php /* OLD CODE <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> */ // EOF: Additional Images: ?>
  24. Is there a seperate add-on from that contribution or is it included? I have KissMT so Header Tags SEO isn't needed.
×
×
  • Create New...