possible solution
dmGremlin <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.suggestions |
|---|---|
| Message-ID | <5b000bcd9bc67b207ce4e6f371069e75@osCommerce-Forums> |
This message was sent from: Suggestions and Proposals
http://forums.oscommerce.com/viewtopic.php?p=193489#193489
----------------------------------------------------------------
a small modification to a contribution I just uploaded might do the trick. You can read the info about it here: [url]http://forums.oscommerce.com/viewtopic.php?t=50221[/url]
so instead of adding one field to the database, you would need to add three -
maybe something like products_ship_price, products_ship_price_two, products_ship_qty
after adding all the code to the various places and adding the new database tables to the queries, the line in shopping_cart.php that you would have to modify from the contribution would be:
[code]
$this->shiptotal += ($products_ship_price);
[/code]
but instead it would be
[code]
if $qty => $products_ship_qty) {
$this->shiptotal += ($products_ship_price_two);
} else {
$this->shiptotal += ($products_ship_price);
}
[/code]