An error has suddenly appeared with using ProductPriceRaw within the Standard Component Layout. The code used has NOT been changed in any way and has worked perfectly for a very long time - since Norman Rouxel kindly wrote it for me a couple of years back. This is the code that was working but suddenly produced the following error:
"The 'ProductPriceRaw' variable has been placed within the 'Standard Component Layout' layout but it won't work there. Click here to see the code."
<actinic:block if="%3cactinic%3avariable%20name%3d%22ComponentDisplayLabel%22%20%2f%3e%20%21%3d%20%22%22">
<!--<br />-->
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsComponentCheckboxShown%22%20%2f%3e">
<input type="checkbox" name="<Actinic:Variable Name="UIWidgetName"/>" <actinic:block if="%3cactinic%3avariable%20name%3d%22IsSelectedByDefault%22%20%2f%3e">checked="checked"</actinic:block> />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsComponentHiddenFieldIncluded%22%20%2f%3e">
<input type="hidden" name="<Actinic:Variable Name="UIWidgetName"/>" value="on" />
</actinic:block>
<actinic:block php="true">
$str = "<actinic:variable name="ComponentDisplayLabel" />";
$regs = array();
$found = 0;
if(ereg("Pro Maintenance Kit","$str",$regs)) {
$str2 = "info_DR194541.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("ALKO Shredder Bag","$str",$regs)) {
$str2 = "info_AK110270.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Lawnmower Cover","$str",$regs)) {
$str2 = "info_EG910-2487.html";
$found = 1;
$str = "Lawnmower Cover";
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Lawnmower Cover","$str",$regs)) {
$str2 = "info_EG910-2487.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Oil Can","$str",$regs)) {
$str2 = "info_EG930-0984.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Commercial Maintenance Kit","$str",$regs)) {
$str2 = "info_DR194591.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Safety COMBI","$str",$regs)) {
$str2 = "info_EG910_0527.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Beaver Blade Kit","$str",$regs)) {
$str2 = "info_DR12540.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 500);\">$str</a>";
}
$found = 0;
if(ereg("80ft","$str",$regs)) {
$str2 = "info_DR196601.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("100ft","$str",$regs)) {
$str2 = "info_DR196591.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("120ft","$str",$regs)) {
$str2 = "info_DR196581.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Replacement Beaver Blade","$str",$regs)) {
$str2 = "info_DR125391.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Bulb Planter Attachment","$str",$regs)) {
$str2 = "info_DRBULBPLANT.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 300);\">$str</a>";
}
$found = 0;
if(ereg("Mower Deck","$str",$regs)) {
$str2 = "info_DR15174.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 500);\">$str</a>";
}
$found = 0;
if(ereg("Bladeless Mower","$str",$regs)) {
$str2 = "info_DR148521.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 500);\">$str</a>";
}
$found = 0;
if(ereg("Graded Blade","$str",$regs)) {
$str2 = "info_DR15750.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 500);\">$str</a>";
}
$found = 0;
if(ereg("Scout Maintenance","$str",$regs)) {
$str2 = "info_DR194841.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Maintenance Kit for DR Pro","$str",$regs)) {
$str2 = "info_DR194821.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Maintenance Kit for 15hp Kawaski","$str",$regs)) {
$str2 = "info_DR194801.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Hose Kit","$str",$regs)) {
$str2 = "info_AK120154.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Gtech CM01 Spare Battery","$str",$regs)) {
$str2 = "info_GTBATTERYCM01.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Free Oil","$str",$regs)) {
$str2 = "info_BS100005E.html";
$str = "<b>FREE Oil</b>";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam CS Vacuum Kit","$str",$regs)) {
$str2 = "info_AR1692210.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Scout Hour","$str",$regs)) {
$str2 = "info_DR199451.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Oil Extractor Kit","$str",$regs)) {
$str2 = "info_AK130088.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 3 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60851.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 2 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60850.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 4 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60852.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 6 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60853.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 8 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60854.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 10 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60855.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Replacement Scythe Blade 91cm","$str",$regs)) {
$str2 = "info_AK110281.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Replacement Scythe Blade 102cm","$str",$regs)) {
$str2 = "info_AK110282.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("BS992051","$str",$regs)) {
$str2 = "info_BS992051.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("BS992049","$str",$regs)) {
$str2 = "info_BS992049.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Intek Service Kit","$str",$regs)) {
$str2 = "info_BS992054.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Service Kit 06211","$str",$regs)) {
$str2 = "info_HO06211-ZL8-000.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Grass Box","$str",$regs)) {
$str2 = "info_AK112466.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO Royale 20 Seat","$str",$regs)) {
$str2 = "info_BOF016800104.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO Royale 24 Seat","$str",$regs)) {
$str2 = "info_BOF016800105.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO Royale 30 Seat","$str",$regs)) {
$str2 = "info_BOF016800106.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO 14in QX 10 Blade Unit","$str",$regs)) {
$str2 = "info_BOF016800121.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO 17in QX 10 Blade Unit","$str",$regs)) {
$str2 = "info_BOF016800122.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO 20in QX 10 Blade Unit","$str",$regs)) {
$str2 = "info_BOF016800123.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Additional Battery","$str",$regs)) {
$str2 = "info_RE2405-AS02.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Electric Safety Circuit Breaker","$str",$regs)) {
$str2 = "info_EG69307.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Garden Power Safety","$str",$regs)) {
$str2 = "info_EG69307.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Small Chainsaw Bag","$str",$regs)) {
$str2 = "info_MICSB_2.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Large Chainsaw Bag","$str",$regs)) {
$str2 = "info_MICSBL.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Scythe Attachment","$str",$regs)) {
$str2 = "info_AK110494.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Cultivator Attachment","$str",$regs)) {
$str2 = "info_AK110495.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Sweeper Attachment","$str",$regs)) {
$str2 = "info_AK110605.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ridge Plough Attachment","$str",$regs)) {
$str2 = "info_AK110472.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Snow Chains","$str",$regs)) {
$str2 = "info_AK112183.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Snow Plough Attachment","$str",$regs)) {
$str2 = "info_AK112465.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Metre Extension","$str",$regs)) {
$str2 = "info_MIVA03.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Pole Pruner Attachment","$str",$regs)) {
$str2 = "info_MIVA02.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Brushcutter Kit","$str",$regs)) {
$str2 = "info_MIVA01.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Hedge Trimmer Attachment","$str",$regs)) {
$str2 = "info_MIHT05.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Spare Battery 1","$str",$regs)) {
$str2 = "info_08836_20.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Spare Battery 2","$str",$regs)) {
$str2 = "info_08837_20.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
</actinic:block>
######################################
# This is where the ProductPriceRaw code appears
<actinic:block php="true">
$aspriceraw = '<actinic:variable encoding="perl" name="AssociatedProduct::ProductPriceRaw" selectable="false" />';
if ( $aspriceraw > 0 ) formattedcurrency(1.20 * $aspriceraw, 2, '.', ',', ' + £');
</actinic:block>
############################################
<Actinic:PRICE_EXPLANATION PROD_REF="<actinic:variable Name="ProductID" />" COMPONENTID=<actinic:variable name="ComponentIndex" />><font color="#dc143c"><b> <actinic:variable name="ComponentRetailCustomerMessage" /></b></font></Actinic:PRICE_EXPLANATION><!--<br />-->
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%3d%3d%200%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3c%20%3cactinic%3avariable%20name%3d%22ComponentCount%22%20%2f%3e%29">
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsPriceShownForComponents%22%20%2f%3e%20OR%20%3cactinic%3avariable%20name%3d%22IsPermutationHidden%22%20%2f%3e">
<actinic:variable name="ComponentAttributeList" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsPriceShownForComponents%22%20%2f%3e%20%3d%3d%20FALSE%20AND%20%3cactinic%3avariable%20name%3d%22IsPermutationHidden%22%20%2f%3e%20%3d%3d%20FALSE" >
<actinic:variable name="AttributeList" />
</actinic:block>
</actinic:block>
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%21%3d%200%29%20AND%0d%28%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22ComponentCount%22%20%2f%3e%29">
<actinic:variable name="AttributeList" />
</actinic:block>
I would be most grateful if anyone can help to fix this problem.
Mike de Malpas
"The 'ProductPriceRaw' variable has been placed within the 'Standard Component Layout' layout but it won't work there. Click here to see the code."
<actinic:block if="%3cactinic%3avariable%20name%3d%22ComponentDisplayLabel%22%20%2f%3e%20%21%3d%20%22%22">
<!--<br />-->
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsComponentCheckboxShown%22%20%2f%3e">
<input type="checkbox" name="<Actinic:Variable Name="UIWidgetName"/>" <actinic:block if="%3cactinic%3avariable%20name%3d%22IsSelectedByDefault%22%20%2f%3e">checked="checked"</actinic:block> />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsComponentHiddenFieldIncluded%22%20%2f%3e">
<input type="hidden" name="<Actinic:Variable Name="UIWidgetName"/>" value="on" />
</actinic:block>
<actinic:block php="true">
$str = "<actinic:variable name="ComponentDisplayLabel" />";
$regs = array();
$found = 0;
if(ereg("Pro Maintenance Kit","$str",$regs)) {
$str2 = "info_DR194541.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("ALKO Shredder Bag","$str",$regs)) {
$str2 = "info_AK110270.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Lawnmower Cover","$str",$regs)) {
$str2 = "info_EG910-2487.html";
$found = 1;
$str = "Lawnmower Cover";
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Lawnmower Cover","$str",$regs)) {
$str2 = "info_EG910-2487.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Oil Can","$str",$regs)) {
$str2 = "info_EG930-0984.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Commercial Maintenance Kit","$str",$regs)) {
$str2 = "info_DR194591.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Safety COMBI","$str",$regs)) {
$str2 = "info_EG910_0527.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Beaver Blade Kit","$str",$regs)) {
$str2 = "info_DR12540.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 500);\">$str</a>";
}
$found = 0;
if(ereg("80ft","$str",$regs)) {
$str2 = "info_DR196601.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("100ft","$str",$regs)) {
$str2 = "info_DR196591.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("120ft","$str",$regs)) {
$str2 = "info_DR196581.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Replacement Beaver Blade","$str",$regs)) {
$str2 = "info_DR125391.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Bulb Planter Attachment","$str",$regs)) {
$str2 = "info_DRBULBPLANT.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 300);\">$str</a>";
}
$found = 0;
if(ereg("Mower Deck","$str",$regs)) {
$str2 = "info_DR15174.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 500);\">$str</a>";
}
$found = 0;
if(ereg("Bladeless Mower","$str",$regs)) {
$str2 = "info_DR148521.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 500);\">$str</a>";
}
$found = 0;
if(ereg("Graded Blade","$str",$regs)) {
$str2 = "info_DR15750.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 500);\">$str</a>";
}
$found = 0;
if(ereg("Scout Maintenance","$str",$regs)) {
$str2 = "info_DR194841.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Maintenance Kit for DR Pro","$str",$regs)) {
$str2 = "info_DR194821.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Maintenance Kit for 15hp Kawaski","$str",$regs)) {
$str2 = "info_DR194801.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Hose Kit","$str",$regs)) {
$str2 = "info_AK120154.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Gtech CM01 Spare Battery","$str",$regs)) {
$str2 = "info_GTBATTERYCM01.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
}
$found = 0;
if(ereg("Free Oil","$str",$regs)) {
$str2 = "info_BS100005E.html";
$str = "<b>FREE Oil</b>";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam CS Vacuum Kit","$str",$regs)) {
$str2 = "info_AR1692210.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Scout Hour","$str",$regs)) {
$str2 = "info_DR199451.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Oil Extractor Kit","$str",$regs)) {
$str2 = "info_AK130088.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 3 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60851.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 2 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60850.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 4 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60852.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 6 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60853.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 8 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60854.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ardisam 10 inch Auger Bit","$str",$regs)) {
$str2 = "info_AR60855.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Replacement Scythe Blade 91cm","$str",$regs)) {
$str2 = "info_AK110281.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Replacement Scythe Blade 102cm","$str",$regs)) {
$str2 = "info_AK110282.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("BS992051","$str",$regs)) {
$str2 = "info_BS992051.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("BS992049","$str",$regs)) {
$str2 = "info_BS992049.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Intek Service Kit","$str",$regs)) {
$str2 = "info_BS992054.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Service Kit 06211","$str",$regs)) {
$str2 = "info_HO06211-ZL8-000.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Grass Box","$str",$regs)) {
$str2 = "info_AK112466.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO Royale 20 Seat","$str",$regs)) {
$str2 = "info_BOF016800104.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO Royale 24 Seat","$str",$regs)) {
$str2 = "info_BOF016800105.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO Royale 30 Seat","$str",$regs)) {
$str2 = "info_BOF016800106.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO 14in QX 10 Blade Unit","$str",$regs)) {
$str2 = "info_BOF016800121.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO 17in QX 10 Blade Unit","$str",$regs)) {
$str2 = "info_BOF016800122.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("ATCO 20in QX 10 Blade Unit","$str",$regs)) {
$str2 = "info_BOF016800123.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Additional Battery","$str",$regs)) {
$str2 = "info_RE2405-AS02.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Electric Safety Circuit Breaker","$str",$regs)) {
$str2 = "info_EG69307.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Garden Power Safety","$str",$regs)) {
$str2 = "info_EG69307.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 200);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Small Chainsaw Bag","$str",$regs)) {
$str2 = "info_MICSB_2.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Large Chainsaw Bag","$str",$regs)) {
$str2 = "info_MICSBL.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Scythe Attachment","$str",$regs)) {
$str2 = "info_AK110494.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Cultivator Attachment","$str",$regs)) {
$str2 = "info_AK110495.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Sweeper Attachment","$str",$regs)) {
$str2 = "info_AK110605.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Ridge Plough Attachment","$str",$regs)) {
$str2 = "info_AK110472.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Snow Chains","$str",$regs)) {
$str2 = "info_AK112183.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Snow Plough Attachment","$str",$regs)) {
$str2 = "info_AK112465.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Metre Extension","$str",$regs)) {
$str2 = "info_MIVA03.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Pole Pruner Attachment","$str",$regs)) {
$str2 = "info_MIVA02.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Brushcutter Kit","$str",$regs)) {
$str2 = "info_MIVA01.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Hedge Trimmer Attachment","$str",$regs)) {
$str2 = "info_MIHT05.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Spare Battery 1","$str",$regs)) {
$str2 = "info_08836_20.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
$found = 0;
if(ereg("Spare Battery 2","$str",$regs)) {
$str2 = "info_08837_20.html";
$found = 1;
print "<a href=\"javascript:ShowPopUp('$str2', 500, 250);\">$str</a>";
$str = 0;
}
</actinic:block>
######################################
# This is where the ProductPriceRaw code appears
<actinic:block php="true">
$aspriceraw = '<actinic:variable encoding="perl" name="AssociatedProduct::ProductPriceRaw" selectable="false" />';
if ( $aspriceraw > 0 ) formattedcurrency(1.20 * $aspriceraw, 2, '.', ',', ' + £');
</actinic:block>
############################################
<Actinic:PRICE_EXPLANATION PROD_REF="<actinic:variable Name="ProductID" />" COMPONENTID=<actinic:variable name="ComponentIndex" />><font color="#dc143c"><b> <actinic:variable name="ComponentRetailCustomerMessage" /></b></font></Actinic:PRICE_EXPLANATION><!--<br />-->
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%3d%3d%200%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3c%20%3cactinic%3avariable%20name%3d%22ComponentCount%22%20%2f%3e%29">
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsPriceShownForComponents%22%20%2f%3e%20OR%20%3cactinic%3avariable%20name%3d%22IsPermutationHidden%22%20%2f%3e">
<actinic:variable name="ComponentAttributeList" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsPriceShownForComponents%22%20%2f%3e%20%3d%3d%20FALSE%20AND%20%3cactinic%3avariable%20name%3d%22IsPermutationHidden%22%20%2f%3e%20%3d%3d%20FALSE" >
<actinic:variable name="AttributeList" />
</actinic:block>
</actinic:block>
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%21%3d%200%29%20AND%0d%28%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22ComponentCount%22%20%2f%3e%29">
<actinic:variable name="AttributeList" />
</actinic:block>
I would be most grateful if anyone can help to fix this problem.
Mike de Malpas
Comment