Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MAJOR BUG <--all should view__ ideas??


sonny

Recommended Posts

Posted

I jus found some major bugs! in last snapshot before 11/24/02 was just released

 

#1 in admin control/modules

 

if order total is off and flat rate is on payment processes with no flat rate calculations

 

if order total is off and flat rate is off, checkout refreshes page,

 

i went int the code for /catalog/includes/modules/shipping/flat.php and changed

 

    function install() {

     tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Enable Flat Shipping', 'MODULE_SHIPPING_FLAT_STATUS', '1', 'Do you want to offer flat rate shipping?', '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 ('Flat Cost', 'MODULE_SHIPPING_FLAT_COST', '5.00', 'What is the Shipping cost? The Handling fee will also be added.', '6', '6', now())");

 

 

 

'MODULE_SHIPPING_FLAT_COST', '5.00',

 

to 0.00-- so now it displays

flat rate

best way 5.00

 

but if you continue no calculations,

 

i went back to the code above and changed it back

 

to 5.00-- so now it displays

flat rate

best way 10.00

 

??

 

also if you have a stored cart item in session cookie and you go to check out , this bypasses the bug and lets you checkout,

 

but say you add another item , this continues the payment referesh loop?

 

Ideas :?[/code]

Posted

Exactly what are you trying to achieve here. Why turn order total off ??

If you want to amend the Flat Rate fee, you can do it in admin.

 

Note also you may also have a handling fee set, again this can be set in admin.

Trust me, I'm an Accountant.

Posted

Flat Cost

What is the Shipping cost? The Handling fee will also be added.

 

Somehow $5.00 handling fee is being added to my flat cost. May I ask how to turn it off?

Posted

admin -> configuration -> shipping/packaging -> handling fee

 

You should spend some time looking at ALL the options in admin so you're familiar with the entire thing. :lookround:

Posted

I dont know if you guys understood what i was saying :huh:

 

But if I have all shipping, handling , order totals everything off in the admin

 

The payment process begins a referesh loop at the shipping address page?

 

 

But if I have one of these modules- shipping, handling , order totals on

 

The payment process does not referesh at the shipping address page

 

My goals is to have paypal handle shipping and tax but with this bug i have to have a flat rate or shipping module on

 

also

 

say you log on as a customer and add items to your cart then you log out

 

now say you come back and login

 

Now you have those items in your cart stored cart in your session cookie and you go to check out ,

 

this bypasses the flatrate page and lets you checkout

 

but say you add another item to your cart that was not stored in your session cookie ,

 

this continues the payment referesh loop at the shipping address page?

 

Any Ideas?

Posted

Sonny,

 

Understand perfectly what you mean now. Unfortunatley this is the way oscommerce works at the moment, bug or feature?

 

At the top of checkout_payment, checkout_confirmation you will fins a snippet of code that checks to see if $shipping is define and if not drops you back to the shipping page. You may have some luck by commenting this code out, but no guarantees.

Trust me, I'm an Accountant.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...