Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mikekorn

Pioneers
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Real Name
    Mike

mikekorn's Achievements

  1. Hello, I'm having an issue with the PayPal Express Checkout module found here: http://addons.oscommerce.com/info/5658. It seems when a customer returns from the PayPal log in page after selecting their payment method and shipping method, that the shipping method is being defaulted back to the cheapest method. I want it to stay as the method they chose prior to that. After researching a bit I found a supposed solution that looked like this: 1) If Paypal overrides your shipping method you should try this solution: in catalogextmodulespaymentpaypalexpress.php find : // select cheapest shipping method $shipping = $shipping_modules->cheapest(); $shipping = $shipping['id']; } } if (strpos($shipping, '_')) { list($module, $method) = explode('_', $shipping); if ( is_object($$module) || ($shipping == 'free_free') ) { if ($shipping == 'free_free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $quote = $shipping_modules->quote($method, $module); } if (isset($quote['error'])) { tep_session_unregister('shipping'); tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } else { if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) { $shipping = array('id' => $shipping, 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'), 'cost' => $quote[0]['methods'][0]['cost']); } } } } and replace with this : // load the selected shipping module require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping($shipping); require(DIR_WS_CLASSES . 'order_total.php'); $order_total_modules = new order_total; This however only gave me an error. But I think the person was on the right track. It seems like right here: // select cheapest shipping method $shipping = $shipping_modules->cheapest(); $shipping = $shipping['id']; is where it is selecting the cheapest method. Is there any known solution for this to make it so it chooses the original method? Any help would be greatly appreciated!
  2. Hello Hayden, Thanks for your contribution. Your addon looks like it might be what I need, but I am not sure. The products on my site have multiple attributes, and each attribute is dependent on the attribute that is selected before it. The best example I can give you is here: http://www.dartheads.com/products/cylinder-heads/small-block-chevy-iron-heads/iron-eagle-s-s-small-block-chevy-cylinder-head-34.html Would your addon be able to accomplish this similar effect? Thanks again for your hard work.
  3. Actually, I am having second thoughts. That module says it's only taken to one sub level. Would that still work for what I need?
  4. Hello. I'm looking for a module that will allow me to add multiple attributes to products, where each attribute can only be selected after the one before it was selected, and proceeding ones will change depending on what was selected. And example of this can be found here: http://www.dartheads.com/products/cylinder-heads/small-block-chevy-iron-heads/iron-eagle-s-s-small-block-chevy-cylinder-head-34.html Anybody know of any modules that would do this?
×
×
  • Create New...