Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Extra Cost


Amboss

Recommended Posts

Posted

Hallo,

 

i want to have extra cost by specific products. the products have the same model numbers like

products a = model 1000

products b = model 2000

 

i use the low order modul like this:

 

$products = $cart->get_products();

for ($i=0, $n=sizeof($products); $i<$n; $i++) {

if (tep_get_products_model($products[$i]['id'], $products[$i]['model'])) {

 

if ( ($pass == true)

&& ( ($order->info['total'] - $order->info['shipping_cost']) < 100) && ($products[$i]['model'] == 1000)

) {

 

But the loop is not right. Does anybody know, how it gets right? :'(

Archived

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

×
×
  • Create New...