I have modified the way that the error box (You must enter x quantity etc) is displayed by using some css to change colours etc. The problem I have is that whilst this works on the product page and the checkout page it does not seem to work in the cart page. Some HTML to show what is being output:
<TABLE ALIGN="CENTER" CELLPADDING="8" BGCOLOR="#990066" CLASS="errorbox">
<TABLE ALIGN="CENTER" CELLPADDING="8" BGCOLOR="#990066" CLASS="errorbox">
These two identical lines are output by the system for the product and the checkout pages, I think I am right in thinking they are controlled by the text in actinic (Design -> Text -> Website -> HTML) that I have modified to:
<TABLE ALIGN="CENTER" CELLPADDING="8" BGCOLOR="%s" CLASS="errorbox"><tr><td>%s
However, for some reason the shopping cart page doesn't seem to use this value, and I am having no luck at all finding where it is coming from (At least in the actinic text). When an error occurs, the cart page outputs:
<TABLE CELLPADDING="10" WIDTH="550" BORDER="1" BGCOLOR="">
From what I can see, this is generated by ActinicConstants.pm, as the error constant - But I'm a little concerned that if I edit it here it will be overwritten by another value in actinic or changed if I ever update the software version.
Is this the case?
<TABLE ALIGN="CENTER" CELLPADDING="8" BGCOLOR="#990066" CLASS="errorbox">
<TABLE ALIGN="CENTER" CELLPADDING="8" BGCOLOR="#990066" CLASS="errorbox">
These two identical lines are output by the system for the product and the checkout pages, I think I am right in thinking they are controlled by the text in actinic (Design -> Text -> Website -> HTML) that I have modified to:
<TABLE ALIGN="CENTER" CELLPADDING="8" BGCOLOR="%s" CLASS="errorbox"><tr><td>%s
However, for some reason the shopping cart page doesn't seem to use this value, and I am having no luck at all finding where it is coming from (At least in the actinic text). When an error occurs, the cart page outputs:
<TABLE CELLPADDING="10" WIDTH="550" BORDER="1" BGCOLOR="">
From what I can see, this is generated by ActinicConstants.pm, as the error constant - But I'm a little concerned that if I edit it here it will be overwritten by another value in actinic or changed if I ever update the software version.
Is this the case?
Comment