Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ArtcoInc

Members
  • Posts

    2,108
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by ArtcoInc

  1. In case anyone is following this thread, I have identified the source of my problems. I am using a Guest Checkout module, and SSPP will currently only work with a logged-in customer. I am working with Robert to try and find a solution. Malcolm
  2. How about 'Bundled Products' ? http://addons.oscommerce.com/info/2015 In it, you can create 'bundles', and set individual items that are only available in the 'bundle'. Malcolm
  3. Thank you ... but this didn't help. To restate, I am using a flat rate shipping for everything *except* for one item. *If* that item is purchased, I want the shipping to be a *new* flat rate, regardless of what else is purchased at the same time. Malcolm
  4. In Catalog/Includes/Modules/Shipping/Separate.php, around line 1150, I see this bit of code: $this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_SEPARATE_TEXT_TITLE, 'methods' => array(array('id' => $this->code, 'title' => MODULE_SHIPPING_SEPARATE_TEXT_WAY, //'title' => MODULE_SHIPPING_SEPARATE_DEFAULT_MODE . " " . MODULE_SHIPPING_SEPARATE_SETTING . " " . MODULE_SHIPPING_SEPARATE_MODE, 'cost' => $shipping + MODULE_SHIPPING_SEPARATE_HANDLING))); Doesn't the // comment out all the way to the end of the entire line, which would result in the array not being properly closed? Malcolm
  5. *** Update *** I had this mostly working (see above) on my test server, but when I went to merge this onto my live server, it's not working now :( It uses the Flat Rate shipping cost as defined in the main module, but ignores the additional Flat Rate shipping cost when the one specific (ie: heavy) item is added to the shopping cart. While testing, I have installed and uninstalled this module several times. It may just be my test server, but when I uninstalled the module, the version number stayed in the configuration table. When I reinstalled the module, there were now two entries in the configurations table, causing a duplication error. Malcolm
  6. Do I get cake? :) And, what would something like this cost? $50? $500? $5000? Malcolm
  7. I realize that this thread is several years old, but I'd also be interested in this. Malcolm
  8. Many thanks to Tsimi for coming up with this fix! ************************************************* Look for this piece of code around line 473 - 480 ************************************************* $product_images_query = tep_db_query("select id, image, htmlcontent, sort_order from " . TABLE_PRODUCTS_IMAGES . " where products_id = '" . (int)$product['products_id'] . "' order by sort_order"); while ($product_images = tep_db_fetch_array($product_images_query)) { $pInfo->products_larger_images[] = array('id' => $product_images['id'], 'image' => $product_images['image'], 'htmlcontent' => $product_images['htmlcontent'], 'sort_order' => $product_images['sort_order']); } } ************************************************************************ now add the following piece of code as it is in between the last two } } ************************************************************************ // BOF Bundled Products if (isset($pInfo->products_bundle) && $pInfo->products_bundle == "yes") { // this product is a bundle so get contents data $bundle_query = tep_db_query("SELECT pb.subproduct_id, pb.subproduct_qty, pd.products_name FROM " . TABLE_PRODUCTS_DESCRIPTION . " pd INNER JOIN " . TABLE_PRODUCTS_BUNDLES . " pb ON pb.subproduct_id=pd.products_id WHERE pb.bundle_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and language_id = '" . (int)$languages_id . "'"); while ($bundle_contents = tep_db_fetch_array($bundle_query)) { $bundle_array[] = array('id' => $bundle_contents['subproduct_id'], 'qty' => $bundle_contents['subproduct_qty'], 'name' => $bundle_contents['products_name']); } } $bundle_count = count($bundle_array); // EOF Bundled Products ******************************** the result should look like this ******************************** $product_images_query = tep_db_query("select id, image, htmlcontent, sort_order from " . TABLE_PRODUCTS_IMAGES . " where products_id = '" . (int)$product['products_id'] . "' order by sort_order"); while ($product_images = tep_db_fetch_array($product_images_query)) { $pInfo->products_larger_images[] = array('id' => $product_images['id'], 'image' => $product_images['image'], 'htmlcontent' => $product_images['htmlcontent'], 'sort_order' => $product_images['sort_order']); } // BOF Bundled Products if (isset($pInfo->products_bundle) && $pInfo->products_bundle == "yes") { // this product is a bundle so get contents data $bundle_query = tep_db_query("SELECT pb.subproduct_id, pb.subproduct_qty, pd.products_name FROM " . TABLE_PRODUCTS_DESCRIPTION . " pd INNER JOIN " . TABLE_PRODUCTS_BUNDLES . " pb ON pb.subproduct_id=pd.products_id WHERE pb.bundle_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and language_id = '" . (int)$languages_id . "'"); while ($bundle_contents = tep_db_fetch_array($bundle_query)) { $bundle_array[] = array('id' => $bundle_contents['subproduct_id'], 'qty' => $bundle_contents['subproduct_qty'], 'name' => $bundle_contents['products_name']); } } $bundle_count = count($bundle_array); // EOF Bundled Products } Malcolm
  9. (It looks like this thread has not had any activity in over two years... ) I have installed this in a 2.3.3.4 store. And, I am having the same admin issue that others have had: I can build a bundle with, in my case, 5 items. The cart side of the store works fine. However, if the admin goes back into bundle definition, the bundle appears to be gone. Has *anyone* been able to resolve this? The default bundle definition is only 3 parts, but one can add additional lines/parts when setting up the bundle. If someone were to address the above issue, it would helpful that, when the admin goes back into a bundle that already has more than 3 parts, all of the parts in the bundle are displayed. Thanks in advance! Malcolm
  10. Greetings, Installed v1.852 in a 2.3.3.4 cart. Had to do all of the 'fixes' as listed: http://www.oscommerce.com/forums/topic/391994-sspp-separate-shipping-per-product-support-forum/page-11#entry1694016 http://www.oscommerce.com/forums/topic/391994-sspp-separate-shipping-per-product-support-forum/page-11#entry1694269 http://www.oscommerce.com/forums/topic/391994-sspp-separate-shipping-per-product-support-forum/page-11#entry1696433 http://www.oscommerce.com/forums/topic/391994-sspp-separate-shipping-per-product-support-forum/page-11#entry1696480 Was finally able to get this installed, configured, and working (I think :) ). For us, shipping is a flat rate of $6, unless one specific (ie, heavy) item is purchased. Then, shipping is a flat rate of $13. I did this by configuring Admin|Modules|Shipping|Separate Shipping as follows: Enable Seperate Shipping Method Do you want to offer separate shipping per Product/Category? * True False Individual Product/Category Setting Set per individual category, or per product category * product Inherit Rates from Main Categories? Allow sub-categories to inherit rates from main categories?. Yes * No Use Default Rates? Using 10 products and Flat rate $1 and the Default Table rate and max shipping $50, The following calculations are performed. Flat shipping = $1 Flat per item shipping = $10 Table shipping= $8.50 Table per item shipping = $50.00 No * Flat Flat per item Table Table per item Use Individual rates with the default rates? When this is set to Yes you can use individual rates along with the default rates. * Yes No Default Flat Rate Place a rate here for global flat rate or leave as 0.00 for free shipping. 6.00 Default Table Rate The shipping table is based on the total qty, cost, or weight of items. Example: 25:8.50,50:5.50,etc.. Up to 25 charge 8.50, from there to 50 charge 5.50, etc Shipping Method for Table Rates The shipping table rate is based on the qty, order total, or weight of the items ordered. * qty price weight Max Shipping Rate Place a max shipping rate here. 50.00 Handling Fee Handling fee for this shipping method. 0 Tax Class Use the following tax class on the shipping fee. -- none -- Shipping Zone If a zone is selected, only enable this shipping method for that zone. -- none -- Sort Order Sort order of display. 20 ---------------------------------------------------------------------------------------------------------------------------------------- This set the initial $6 flat rate. Then, I configured the one heavy item as follows: --------------------------------------------------------------------------------------------------------------------------------------- Use Independent Rates instead of the default rates for this category/product? Yes Shipping Method Flat Flat/Free Shipping Rate: 7.00 Table Rates: Qty Price Weight: Rate: ----------------------------------------------------------------------------------------------------------------------------------------- This adds an additional $7 to the existing $6 flat rate, giving me the $13 flat rate needed. So far, so good :) I am using KissER for my error handling. When I have, say, four items in my cart, and I click on Checkout, KissER identifies the following 23 errors: E_NOTICE Error Count: 23 Error: Undefined variable: status_query File: includes/languages/english/modules/shipping/separate.php Line: 14 Error: Undefined variable: ver File: includes/languages/english/modules/shipping/separate.php Line: 21 Error: Undefined variable: ver File: includes/languages/english/modules/shipping/separate.php Line: 22 Error: Undefined variable: status_query4 File: includes/modules/shipping/separate.php Line: 328 Error: Undefined variable: status_query5 File: includes/modules/shipping/separate.php Line: 344 Error: Undefined variable: status_query6 File: includes/modules/shipping/separate.php Line: 360 Error: Undefined variable: status_query7 File: includes/modules/shipping/separate.php Line: 394 Error: Undefined variable: status_query8 File: includes/modules/shipping/separate.php Line: 430 Error: Undefined variable: pound File: includes/modules/shipping/separate.php Line: 521 Error: Undefined variable: pound_p File: includes/modules/shipping/separate.php Line: 524 Error: Undefined variable: price_p File: includes/modules/shipping/separate.php Line: 530 Error: Undefined variable: tbl_qty File: includes/modules/shipping/separate.php Line: 534 Error: Undefined variable: tbl_qty_p File: includes/modules/shipping/separate.php Line: 537 Error: Undefined variable: tbl_pound File: includes/modules/shipping/separate.php Line: 540 Error: Undefined variable: tbl_pound_p File: includes/modules/shipping/separate.php Line: 543 Error: Undefined variable: tbl_price File: includes/modules/shipping/separate.php Line: 546 Error: Undefined variable: price_p File: includes/modules/shipping/separate.php Line: 549 Error: Undefined variable: p_qty File: includes/modules/shipping/separate.php Line: 598 Error: Undefined variable: p_rate2 File: includes/modules/shipping/separate.php Line: 622 Error: Undefined variable: p_qty2 File: includes/modules/shipping/separate.php Line: 626 Error: Undefined variable: rate2 File: includes/modules/shipping/separate.php Line: 630 Error: Undefined variable: tbl File: includes/modules/shipping/separate.php Line: 630 Error: Undefined variable: tbl2 File: includes/modules/shipping/separate.php Line: 630 (I should note that I am also using the 'Better Checkout' module to be able to have Guest Checkout, if that makes any difference) It *seems* that the code is working (ie: it is coming up with the correct shipping cost), but these errors exist none the less. In addition, near the bottom of the Checkout_Shipping page, I see this: ----------------------------------------------------------------------------------------------------------------------------------------- Shipping Method This is currently the only shipping method available to use on this order. Separate Shipping ver: Best Way $13.00 ----------------------------------------------------------------------------------------------------------------------------------------- It *looks* like it is trying to display the Separate Shipping version number, but doesn't know where to find it. The version number is *not* displayed in the Admin|Modules|Shipping|Separate Shipping option. So, what did I miss? Thanks! Malcolm
  11. http://addons.oscommerce.com/info/8750 This add-on adds a button to the 'product_info.php' page that, when clicked, pops up a box allowing the customer to request a notification when an out-of-stock item is back in stock. I have installed this add-on, and everything works *except* for the pop up :wacko: Instead, when clicked, the customer is taken back to 'index.php'. Has anyone else tried this and got it to work? Thanks! Malcolm
  12. I just found this on Paypal's site: Features Not Supported by Express Checkout on Mobile Devices Before implementing Express Checkout on mobile devices, examine the list of features that are not supported. Express Checkout does not support the following features when it runs on mobile devices: SMS security keys for mobile PayPal login, in which buyers can sign up for an extra layer of security with a secure token. Buyers add a one-time secure code to their password or mobile PIN when they log in to PayPal. Buyers can use secure codes from hardware tokens but not from software tokens sent by SMS to the buyer's mobile phone. Forgotten email or password, in which buyers can request their email address or password during checkout, before logging in to PayPal. Parallel payments, which lets buyers pay multiple merchants in a single checkout session. Dynamic images, which lets PayPal update the images on your website for the Checkout With Express Checkout button and PayPal acceptance mark automatically to coincide with PayPal campaigns. Buyer experience enhancements, which lets you offer gift wrap, ask a survey question, or display your customer service number during checkout. Custom payment page styles, which lets you change the overall appearance of the Review your information page with a custom page style or with individual page style characteristics. Instant Update API, which is a callback that sends you the buyer's shipping address during checkout on PayPal and lets you respond with your actual shipping charges and handling charges. International addresses, which lets buyers add international addresses during checkout after logging in to PayPal. Promotional offers, which lets buyers pay with coupons, incentives, and buyer credit. Dynamic currency conversion, which lets you list an item in one currency and then accept payment in a different currency. Keep me logged in, in which buyers remain logged in to PayPal between transactions. In the Paypal Express module in osC, I have the API Instant Update set to True. If I remember correctly, I needed to do this in order to pass the flat rate shipping costs to Paypal. This *may* explain why I have not been able to get the Mobile Express Checkout to work :( So, *IF* this is the reason, is there any way to have Flat Rate shipping *and* use Mobile Express Checkout? Thanks! Malcolm
  13. Two quick questions: I have the Paypal Express module (v3.0, API 112) installed on a 2334bs shop. When the customer works up an order, and clicks on the Paypal Express button, it takes them to the standard (desktop) page on Paypal. 1) How can I take the user to the Paypal Express Mobile page? In catalog/ext/modules/payment/paypal/express.php, I have changed if (MODULE_PAYMENT_PAYPAL_EXPRESS_TRANSACTION_SERVER == 'Live') { $paypal_url = 'https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&'; } else { $paypal_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&'; } to: if (MODULE_PAYMENT_PAYPAL_EXPRESS_TRANSACTION_SERVER == 'Live') { $paypal_url = 'https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout-mobile&'; } else { $paypal_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout-mobile&'; } and there is no change. The customer is still taken to the desktop page. 2) Is there a way to check the user's display size, and direct them to the Desktop page if their screen size is larger than some value, and to the Mobile page if their display size is smaller than that value? Thanks! Malcolm
  14. I hope that this add-on is still being supported here, since I don't see any activity in this thread in the last year. Maybe that's a good thing B) I am currently using the KissER add-on to assist in tracking down code errors, and have been pleased with it. Now, it's time to turn my attention to security ... I am looking at both your Security Pro add-on: http://addons.oscommerce.com/info/7708 and the osC_Sec add-on by another contributor: http://addons.oscommerce.com/info/8929 At the risk of being rude, may I ask what yours does better, or that the other doesn't do? Thank you in advance! Malcolm
  15. ** Update ** While testing, I received an email, Subject: PayPal Express Debug E-Mail There were only two lines in the email: $HTTP_POST_VARS: $HTTP_GET_VARS: The email was sent from the shop owner's email address, and was addressed to the email address I have listed in the Debug E-Mail Address configuration field. Am I correct in *assuming* that, if there is an email address in the Debug E-Mail Address field, than a debug email will be sent for every (?) PayPal Express order, even if there is no 'debug data'? And if so, if I delete the email address in the Debug E-Mail Address field, then no debug emails will be sent? Thank you! Malcolm
  16. Thank you. I see a couple of new settings in the configuration page: Page Style (blank) Verify SSL Certificate (T/f) Proxy Server (blank) After loading these four files onto my in-house test server, and leaving the new settings as default, I tried the 'Gateway Connection Test'. It returns an error: "An error occurred. Please refresh the page and try again." I've tried the test several times, with the Verify SSL Certificate both True and False. Same error. I then loaded these four files to the public test server. Here, I also get the same error message when doing the Connection Test. That said, after a couple of mis-steps, I am now able to go into the Paypal checkout (both on the in-house server and the public server)! :) Also, it looks like sales tax *is* being applied correctly :) :) :) Thank you *very* much for all of your assistance! I will continue to test things here. Malcolm
  17. As far as I can see, there were only 3 files changed between the version of Paypal Express that came with the version of osC I'm using (Paypal Express v1.2) and the new Paypal Express v3.0 catalog/ext/modules/payment/paypal/express.php catalog/included/languages/english/modules/payment/paypal_express.php catalog/includes/modules/payment/paypal_express.php (plus the addition of the button images) Visit my site at: http://www.shelbowhispertips.com/ Add any item to the cart, then click on the Paypal button. Likewise, if I go through the checkout process, select Paypal as the payment method, click on continue to confirmation, I again return to the login page. If I return the original 3 files, the checkout process works fine (except for the sales tax issue). I've tested this with both Firefox and Chrome. Thank you for your time and attention! Malcolm
  18. Thank you. I just re-installed Paypal Express v3.0 (copying over the three relevant files). Now, when I add an item to the cart, I *do* see the Paypal Express button. I can not say why it wasn't there before. But, .... As I mentioned in another thread <http://www.oscommerce.com/forums/topic/396978-guest-checkout-paypal-express-and-sales-tax/>, I have a Guest Checkout add-on installed. With the v1.2 version of Paypal Express, clicking on the Paypal Express button took me to Paypal. Now, with the v3.0 of Paypal Express, when I click on the Paypal Express button, it takes me to the Login Page, which defeats the purpose of the Guest Checkout. And, I am still trying to resolve the Sales Tax issue discussed in the other thread. Thank you! Malcolm
  19. The 2.3.3.4 version I am using came with Paypal Express v1.2 (API 60.0). I was having a slight problem with it, so I downloaded and installed the current version (Paypal Express v3.0, API 112). http://addons.oscommerce.com/info/5658 Immediately, the Paypal Express button disappeared from my site. In the installation PDF file, there is this: This is not a valid link. Malcolm PS: I had to revert back to the v1.2 version.
  20. http://addons.oscommerce.com/info/8329 Two fixes, and 1 remaining bug ... 1) Initial error: Warning: mysql_num_rows() expects parameter 1 to be resource, object given in C:\####\admin\orderlist.php Fix: In /catalog/admin/orderlist.php, around line 276, find: $records = mysql_num_rows($results); replace with: $records = $result->num_rows; 2) The arrays $years and $years2 end with the year 2013. You can add additional years to these arrays starting around lines 120 and 175 3) I am still getting the following error: Warning: array_merge(): Argument #2 is not an array in C:\######\admin\orderlist.php on line 360 (mind you, I've added additional lines to my file as per #2 above) Any suggestions on now to solve this error? Thanks. Malcolm
  21. Forgot to include the link: Recover Cart Sales for OSC 2.3.1 http://addons.oscommerce.com/info/8333 Malcolm
  22. Found a typo .... In line 297, replace: <form method=post action=<? echo $PHP_SELF;?> > with: <form method=post action=<?php echo $PHP_SELF; ?> > Malcolm
×
×
  • Create New...