Problem with variable field link.

General ShopSite user discussion

Problem with variable field link.

Postby joey » Mon Oct 09, 2006 3:37 pm

We can't get the variable field to link to anything.
We're using a custom template and the field and graphic shows on the page, but no linkage.

Here is a copy of the 2 templates we've tried.

What do we need to change to make this variable field submit?

Many thanks. -joe


######################
[-- DEFINE PRODUCT --]
######################

# Closes tabe cell and row made by ShopSite
</td>
</tr>
</table>

<table cellspacing="0" class="cca" width="100%" border="0">
<tr>
<td width="100%" style="padding-top:10px; padding-left:340px;>

<form action="[-- SHOPPING_CART_URL BASE --]/order.cgi" method=post>

<b>[-- PRODUCT.Name --]</b>
[-- PRODUCT.ProductDescription --]
[-- INCLUDE Product-Price PROCESS --]
[-- INCLUDE Product-AddToCartButton PROCESS --]<p>
</form>

[-- END_DEFINE PRODUCT --]

NOTE: We've also tried this:######################
[-- DEFINE PRODUCT --]
######################

# Closes tabe cell and row made by ShopSite
</td>
</tr>
</table>

<table cellspacing="0" class="cca" width="100%" border="0">
<tr>
<td width="100%" style="padding-top:10px; padding-left:300px;>


<form action="https://www3.cruzio.com/shopsite/sc/order.cgi" method=post>
<input type=hidden name=storeid value=[-- STORE.ID --]>
<input type=hidden name=dbname value=products>
<input type=hidden name=function value=add>
<input type=hidden name=itemnum value=[-- PRODUCT.RecordNumber --]>

<b>[-- PRODUCT.Name --]</b>

[-- IF PRODUCT.ProductDescription --]
<br>[-- PRODUCT.ProductDescription --]<br>
[-- END_IF --]

[-- INCLUDE Product-Price PROCESS --]

<input type="image" src="/donate/media/btn_submit.gif" alt="Submit" border="0" name="Add to Cart" align="absmiddle" vspace="3" hspace="3">

</form>


[-- END_DEFINE PRODUCT --]
joey
 
Posts: 1
Joined: Mon Oct 09, 2006 2:32 pm

RE: Problem with variable field link.

Postby ShopSite Lauren » Tue Oct 10, 2006 11:47 am

Joe,

It looks like in the templates you have listed below, there is a missing quotation mark at the end of the column tag. It should look like this:

<td width="100%" style="padding-top:10px; padding-left:340px;">

Without that last quote, the form won't get started.

-Lauren
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT


Return to User Forum

Who is online

Users browsing this forum: No registered users and 42 guests

cron