Ok, for people saying my configurator doesn't work, it's fixed. I hid the tax and net price boxes becuase I don't use them. They are still there.
I fixed the greek in the files, and you can see my configurator here.
http://www.cjnet.info/e/checkout/ind...c_configurator
And this, in the same directory (PLEASE SEE POST BELOW IT WOULDNT FIT IN 1), is called pc_configurator_table_construction_query.php in translated full enlgish is:
PHP Code:
<?php
$check_configuration_value_1 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_1'");
$configuration_value_1 = $check_configuration_value_1->fields['configuration_value'];
$check_configuration_value_2 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_2'");
$configuration_value_2 = $check_configuration_value_2->fields['configuration_value'];
$check_configuration_value_3 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_3'");
$configuration_value_3 = $check_configuration_value_3->fields['configuration_value'];
$check_configuration_value_4 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_4'");
$configuration_value_4 = $check_configuration_value_4->fields['configuration_value'];
$check_configuration_value_5 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_5'");
$configuration_value_5 = $check_configuration_value_5->fields['configuration_value'];
$check_configuration_value_6 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_6'");
$configuration_value_6 = $check_configuration_value_6->fields['configuration_value'];
$check_configuration_value_7 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_7'");
$configuration_value_7 = $check_configuration_value_7->fields['configuration_value'];
$check_configuration_value_8 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_8'");
$configuration_value_8 = $check_configuration_value_8->fields['configuration_value'];
$check_configuration_value_9 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_9'");
$configuration_value_9 = $check_configuration_value_9->fields['configuration_value'];
$check_configuration_value_10 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_10'");
$configuration_value_10 = $check_configuration_value_10->fields['configuration_value'];
$check_configuration_value_11 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_11'");
$configuration_value_11 = $check_configuration_value_11->fields['configuration_value'];
$check_configuration_value_12 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_12'");
$configuration_value_12 = $check_configuration_value_12->fields['configuration_value'];
$check_configuration_value_13 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_13'");
$configuration_value_13 = $check_configuration_value_13->fields['configuration_value'];
$check_configuration_value_14 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_14'");
$configuration_value_14 = $check_configuration_value_14->fields['configuration_value'];
$check_configuration_value_15 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_15'");
$configuration_value_15 = $check_configuration_value_15->fields['configuration_value'];
$check_configuration_value_16 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_16'");
$configuration_value_16 = $check_configuration_value_16->fields['configuration_value'];
$check_configuration_value_17 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_17'");
$configuration_value_17 = $check_configuration_value_17->fields['configuration_value'];
$check_configuration_value_18 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_18'");
$configuration_value_18 = $check_configuration_value_18->fields['configuration_value'];
$check_configuration_value_19 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_19'");
$configuration_value_19 = $check_configuration_value_19->fields['configuration_value'];
$check_configuration_value_20 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_20'");
$configuration_value_20 = $check_configuration_value_20->fields['configuration_value'];
$check_configuration_value_21 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_21'");
$configuration_value_21 = $check_configuration_value_21->fields['configuration_value'];
$check_configuration_value_22 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_22'");
$configuration_value_22 = $check_configuration_value_22->fields['configuration_value'];
$check_configuration_value_23 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_23'");
$configuration_value_23 = $check_configuration_value_23->fields['configuration_value'];
$check_configuration_value_24 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_24'");
$configuration_value_24 = $check_configuration_value_24->fields['configuration_value'];
$check_configuration_value_25 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_25'");
$configuration_value_25 = $check_configuration_value_25->fields['configuration_value'];
$check_configuration_value_26 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_26'");
$configuration_value_26 = $check_configuration_value_26->fields['configuration_value'];
$check_configuration_value_27 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_27'");
$configuration_value_27 = $check_configuration_value_27->fields['configuration_value'];
$check_configuration_value_28 = $db->Execute("select configuration_value
from " . TABLE_CONFIGURATION . "
where configuration_key = 'PRODUCTS_GROUP_PC_CONFIGURATOR_28'");
$configuration_value_28 = $check_configuration_value_28->fields['configuration_value'];
$pc_configurator_start_form = '<BODY bg############################## leftMargin=0 topMargin=0 marginwidth="0" marginheight="0"><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY><TR><TD><FORM ENCTYPE="multipart/form-data" name=LeBrandPcConfiguratorForm action="'.HTTP_SERVER.''.DIR_WS_CATALOG.'index.php?main_page=pc_configurator_step_2" method=POST><table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="74%" id="AutoNumber2">
<tr>
<td width="65%" style="border-style: none; border-width: medium">
<p align="center">
<font face="Tahoma" size="1" color="#000080"><span lang="el">Would you like this PC to be added to our database? - others will be able to buy it </span>;</font><br>
<select size="1" name="insert_db" style="color: #000080; font-family: Tahoma; font-weight: bold; font-size: 8pt; background-color: #99CCFF">
<option selected value="1">Yes please</option>
<option value="2">No, it is personal</option>
</select></td>
</tr>
</table><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY><TR><TD><TABLE cellSpacing=0 cellPadding=2 width="100%" border=0 height="679" style="border-collapse: collapse; border-style: solid; border-width: 1" bordercolor="#3E6EA4"><TBODY>';
$pc_td = '<TD class=products_attributes_controler_conf style="background-color: #E1EBF5; border-left-style:solid; border-left-width:1" height="19"><font face="Tahoma">';
$prc_td = '<TD class=products_attributes_controler_conf align=middle height="19" style="background-color: #E1EBF5; border-right-style:solid; border-right-width:1">';
?>
I have read the last post and will be updating the design. Once that has been done I will release the new script in full english, with a new design.
Bookmarks