Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Some Problems Index.php,Shipping methods and payment


OratIos

Recommended Posts

Posted

this is my site http://www.itech.gr/index.php?language=En

 

1) As you can see in the main screen ,the featured products and the main products are EMPTY...How can i insert there products i have for advertisement??

 

2)When you click on a category list ie PC ,it opens and you see the 8 icons of the subcategory!!How can i insert under that icons in the new products session the best viewed of all these categories??

 

3)In shipping options (I have one country GREECE and 3 STATES (ATT,ISL,EPR) ,OK?) i want to check the state from the delivery address automatically and if its ATT the charge will be 3EYROS up to 2killos kai 1euro for each killo.And if it will be ISL or EPR the charge will be 5EYROS up to 2killos kai 1.5euro for each killo!!!I cannot find something to include all that!!!!

 

 

I hope someone helps....Thanks in advance!!!!!!!!! :( :( :(

Posted
this is my site http://www.itech.gr/index.php?language=En

 

1) As you can see in the main screen ,the featured products and the main products are EMPTY...How can i insert there products i have for advertisement??

 

2)When you click on a category list ie PC ,it opens and you see the 8 icons of the subcategory!!How can i insert under that icons in the new products session the best viewed of all these categories??

 

3)In shipping options (I have one country GREECE and 3 STATES (ATT,ISL,EPR) ,OK?) i want to check the state from the delivery address automatically and if its ATT the charge will be 3EYROS up to 2killos kai 1euro for each killo.And if it will be ISL or EPR the charge will be 5EYROS up to 2killos kai 1.5euro for each killo!!!I cannot find something to include all that!!!!

I hope someone helps....Thanks in advance!!!!!!!!! :( :( :(

 

My catalog/inlcudes/modules/featured_products.php

 

<?php

/*

$Id: featured_products.php,v 2.51 2003/10/31 21:00:00 cieto Exp $

 

cieto Featured Products 2.51 MS2 listing module

[email protected]

 

Made for:

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

Copyright © 2002 osCommerce

Released under the GNU General Public License

 

*/

?>

<table width="422" border="0" cellpadding="0" cellspacing="0">

<tr>

<td width="377" height="34" align="center" colspan="4" valign="top">

<img src="images/title/featured.gif" height="34" alt=""></td>

</tr>

<?php

if (sizeof($featured_products_array) <> '0') {

$col = 0;

for($i=0; $i<sizeof($featured_products_array); $i++) {

if ($featured_products_array[$i]['specials_price']) {

$products_price = '<s>' . $currencies->display_price($featured_products_array[$i]['price'], tep_get_tax_rate($featured_products_array[$i]['tax_class_id'])) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price($featured_products_array[$i]['specials_price'], tep_get_tax_rate($featured_products_array[$i]['tax_class_id'])) . '</span>';

} else {

$products_price = $currencies->display_price($featured_products_array[$i]['price'], tep_get_tax_rate($featured_products_array[$i]['tax_class_id']));

}

$col++;

?>

<!--DWLayoutTable-->

 

<tr>

<td width="149" rowspan="4" valign="middle" align="center"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $featured_products_array[$i]['image'], $featured_products_array[$i]['name']) . '</a>';?></td>

<td width="9" rowspan="4" valign="top">

</td>

<td height="33" colspan="2" valign="bottom" align="center" class="featuretitle"><?php echo '<b><a class="featuretitle" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">' . $featured_products_array[$i]['name'] . '</a></b>'; ?></td>

</tr>

<tr>

<td height="9" colspan="2" valign="top">

<img src="images/featured/templates_30.gif" width="281" height="9" alt=""></td>

</tr>

<tr>

<td height="44" colspan="2" valign="top" class="featured"><?php

if ($featured_products_array[$i]['shortdescription'] != '') {

echo $featured_products_array[$i]['shortdescription'];

} else {

$bah = explode(" ", $featured_products_array[$i]['description']);

for($desc=0 ; $desc<15 ; $desc++)

{

echo "$bah[$desc] ";

}

echo '...';

}

?></td>

</tr>

<tr>

<td width="142" height="32" valign="top">

</td>

<td width="139" valign="top"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'more info.gif', 'Read more about this product...', '116', '44');?></td>

</tr>

 

 

<?php

}

if (($i+1) != sizeof($featured_products_array)) {

?>

<?php

}

}

 

?>

</table>

Archived

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

×
×
  • Create New...