Jump to content


Corporate Sponsors


Latest News: (loading..)

saupe31

Member Since 18 Aug 2009
Offline Last Active May 22 2012, 14:15
-----

Posts I've Made

In Topic: Easy Populate & Products Attributes

10 May 2012, 19:12

ok for anyone else like me wanting to add it i found the answer here http://www.oscommerce.com/community/contributions,1333
its the 14 december 2009 one added and worked fine

In Topic: Easy Populate & Products Attributes

10 May 2012, 18:09

View Postgeoffreywalton, on 10 May 2012, 12:13, said:

Open easypopulate.php and follow the instruction contained in there.

HTH

G
maybe im missing something but it only explains how to add things in the products or products description fields and as its in its own field that doesnt really help

In Topic: Easy Populate & Products Attributes

10 May 2012, 10:20

can anyone tell me how to add indivial shipping price to this

In Topic: [contribution] individual product shipping prices

08 February 2012, 14:36

View Postkc3923, on 12 January 2009, 16:48, said:

Check to make sure you have included the following


In catalog\includes\classes\shopping_cart.php

Find

		  $specials_query = tep_db_query("select specials_new_products_price from " . TABLE_SPECIALS . " where products_id = '" . (int)$prid . "' and status = '1'");		  if (tep_db_num_rows($specials_query)) {			$specials = tep_db_fetch_array($specials_query);			$products_price = $specials['specials_new_products_price'];		  }

Insert AFTER it

		  // start indvship		  $products_shipping_query = tep_db_query("select products_ship_price, products_ship_price_two, products_ship_zip, products_ship_methods_id from " . TABLE_PRODUCTS_SHIPPING . " where products_id = '" . $products['products_id'] . "'");		  $products_shipping = tep_db_fetch_array($products_shipping_query);		  // end indvship

Find

		 $products_array[] = array('id' => $products_id,									'name' => $products['products_name'],									'model' => $products['products_model'],									'image' => $products['products_image'],									'price' => $products_price,									'quantity' => $this->contents[$products_id]['qty'],									'weight' => $products['products_weight'],									'final_price' => ($products_price + $this->attributes_price($products_id)),									'tax_class_id' => $products['products_tax_class_id'],

Insert AFTER it

	  // start indvship		'products_ship_price' => $products_shipping['products_ship_price'],		'products_ship_price_two' => $products_shipping['products_ship_price_two'],		'products_ship_zip' => $products_shipping['products_ship_zip'],	// end  indvship

In catalog\includes\classes\order.php

Find
	  $this->info = array('order_status' => DEFAULT_ORDERS_STATUS_ID,						  'currency' => $currency,						  'currency_value' => $currencies->currencies[$currency]['value'],						  'payment_method' => $payment,

Insert BEFORE it

	  //start indvship	  if($shipping['id']==indvship_indvship){		$shipping_cost = $shipping['cost'];		$shipping_title = $shipping['title'];	  } else {		$shipping_cost = $shipping['cost'] + $shipping['invcost'];		if ($shipping['invcost'] > 0) {		  $shipping_title = $shipping['title']. ' Plus Flat Rate Shipping';		} else {		  $shipping_title = $shipping['title'];		}	  }	  // end indvship 

Find

						  'subtotal' => 0,						  'tax' => 0,						  'tax_groups' => array(),

Insert BEFORE it

			  // start indvship						  //'shipping_method' => $shipping['title'],						  //'shipping_cost' => $shipping['cost'],						  'shipping_method' => $shipping_title,						  'shipping_cost' => $shipping_cost, 			  //end indvship 



Hope that helps

In Topic: banner manager osc 2.3.1

11 January 2012, 09:01

<?php if ($banner = tep_banner_exists('dynamic', 'link1')){?>
<?php echo tep_display_banner('static', $banner); ?>
<?php
  }
?>
<?php if($banner = tep_banner_exists('dynamic', 'link2')){?>
<?php echo tep_display_banner('static', $banner); ?>
<?php
  }
?>
<br>
<?php if($banner = tep_banner_exists('dynamic', 'link3')){?>
<?php echo tep_display_banner('static', $banner); ?>
<?php
  }
?>
<?php if($banner = tep_banner_exists('dynamic', 'link4')){?>
<?php echo tep_display_banner('static', $banner); ?>
<?php
  }
?>
heres how i added 4 to the index in banner manager you just set up 4 different groups link 1- 4 and the banner will show in that position