PDA

View Full Version : moving PRODUCTFORMBEGIN doesn't move the product form when quantity in basket????


webyourbusiness
14-Jul-2003, 12:13 AM
I'm trying to use some small forms within HTML in the product description, which I assumed would fail unless I moved the variable PRODUCTFORMBEGIN to AFTER the description.

Well... I've moved the NETQUOTEVAR and the open for tag isn't moving!?!

Any idea why?

The product is using Act_RightProductLine.html as follows:

<!-- RightProductLine HTML begin -->
<!-- Greg --><!-- Insert HTML for the top of the individual product -->
NETQUOTEVAR:INCLUDE Act_ProductSeparator.html
NETQUOTEVAR:ENDSEPARATOR
<!-- PRODUCTFORMBEGIN MOVED FROM HERE -->
<tr>
<td rowspan="2" valign="TOP" align="CENTER">
<!-- NETQUOTEVAR:TEMPLATEBEGINXML -->
NETQUOTEVAR:PRODUCTIMAGE
</td>

<td colspan="2" valign="TOP" align="LEFT">
<a name="NETQUOTEVAR:PRODUCTANCHOR"></a><span class="actregular"><b>NETQUOTEVAR:PRODUCTNAME</b></span>
<span class="actsmall">NETQUOTEVAR:PRODUCTREF</span>
<br>NETQUOTEVAR:PRODUCTDESCRIPTION&nbsp;NETQUOTEVAR:PRODUCTFORMBEGINNETQUOTEVAR:EXTINFOLINKNETQUOTEVAR:EXTINFOBUTTON
<br>NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK
NETQUOTEVAR:PRICEEXPLANATION
<!-- TO HERE -->
NETQUOTEVAR:PRODUCTFORMBEGIN
<br><b>NETQUOTEVAR:PRODUCTPRICE</b>
NETQUOTEVAR:OTHERINFOPROMPT
NETQUOTEVAR:DATEPROMPT
<br>
</td>
</tr>

<tr>
<td colspan="2" align=left>
<span class="actxsmall">
NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY<br>
<Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>
</span>
NETQUOTEVAR:TEMPLATEENDXML
</td>
</tr>
NETQUOTEVAR:PRODUCTFORMEND
NETQUOTEVAR:NEXT

<!-- Insert HTML for the bottom of the individual product -->
<!-- RightProductLine HTML end -->


The page that's giving me grief is at:

http://www.aaabusinesshosting.com/acatalog/budget_web_hosting_online.html

I've turned OFF the compact HTML/CGI - but much to my dismay, I'm putting comments where I expect the form to begin, and it's found nowhere near it - however... when I change Actinic back to quantity on product page, instead of on the basket page - it behave itself - where do I change it when my catalog is in Quantity on Basket page?!?!

tia

Greg Hewitt-Long

cdicken
16-Jul-2003, 08:13 AM
Hi Greg

When the shopping mode is on 'Quantity in Shopping Cart', then the product page is one large HTML form. It is only when you change shopping mode to 'Quantity on Product Page' that each product becomes its own individual form.

Hope that helps you move forward with this.

webyourbusiness
16-Jul-2003, 01:00 PM
Why does Actinic then move the other info box to the product page as well? It's messy on the page rather than the cart phase.

tia

Greg

cdicken
18-Jul-2003, 09:17 AM
The quantity prompt, other info prompt and date prompt are all extra parameters (alongside the product reference) that are passed to the cart script in order to actually add a product to the shopping cart.

The 'Shopping Mode' controls at which point these extra parameters are specified.