Author |
Topic |
|
JP Solutions
Starting Member
4 Posts |
Posted - June 22 2010 : 07:06:33
|
Hello, I am trying to help out a small business with an online shop powered by VP-ASP Value 6.50.0.1, the problem is that when you try to purchase an item from their online shop it only works on Internet Explorer. If you use Google Chrome, Mozilla Firefox or Apple Safari (and perhaps some other browsers) I receive an error message which reads "product id is not numeric".
I have researched the problem, and this link tohttps://www.vpasp.com/virtprog/vpaspforum/topic.asp?TOPIC_ID=4329 suggests that problem is to do with [special_orderbutton] template tag.
Apparently I need to change this to [formatproductoptions sub] [formatquantity sub] [formatbutton sub] in the site's tmp_productformat.htm file.
The site does not have a [special_orderbutton] template tag in its tmp_productformat.htm file, however there are five files which contain the [special_orderbutton] template tag, these files are tmp_product.htm, tmp_productformatinvent.htm, tmp_productformatinvent-.htm, tmp_productinvent.htm and tmp_productinvent-.htm.
Here is an example of the code which I think is at fault:
<tr>
<td><hr size="1" style="color:#cccccc" /></td>
</tr>
<tr>
<td align="left">
[SPECIAL_ORDERBUTTON]</td>
</tr>
<tr>
<td><hr size="1" style="color:#cccccc" /></td>
</tr>
<tr>
<td align="left">
Please could someone tell me which of the five files I need to amend, and how I need to amend them. I am by no means an expert on this matter, however I do have a pretty good understanding. |
|
support
Administrator
4679 Posts |
Posted - June 22 2010 : 08:09:19
|
Hello there,
It's kinda difficult to look into this without seeing the website. I suspect there are multiple and overlapping forms on your template which is causing some of the browsers to stop working.
If you can submit this to our helpdesk at https://helpdesk.vpasp.com, our support member will be able to look into this for you.
Thank you.
Regards, Frank VPASP Support |
|
|
JP Solutions
Starting Member
4 Posts |
Posted - June 22 2010 : 08:12:30
|
Do you mean seeing the site's full code, or just seeing what is going wrong?
The site is http://www.printeriordesign.co.uk/shop/default.asp, if you try to purchase sometyhing with a browser other than Internet Explorer you should receive an error message reading "Product ID must be numeric" |
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - June 22 2010 : 12:36:00
|
I might be wrong, but I reckon it's the placement of this line in the html which is causing the problem:
<input type="hidden" name="productid" value="65" />
the </table> bit after that line needs to be moved to come before that line, otherwise some browsers won't see/process the hidden field, so it looks like the template fields aren't being done in the right order.
ie the final html is like this:
</td><td class="ac vm"><input class="submitbtn" type="submit" value=" Order " name="Order"></td></tr> <input type="hidden" name="productid" value="65" /> </table>
but it should be more like this:
</td><td class="ac vm"><input class="submitbtn" type="submit" value=" Order " name="Order"></td></tr></table> <input type="hidden" name="productid" value="65" />
So I think you'd just need to move the template fields around a bit in the template file.
Also, vpasp's posting above's relevant too; the form tags aren't right either. It's more likely to be the form tags that are causing the problem than the hidden field being outside a "visible" bit of html, but it could be either/both; depends on the browser.
Simon Barnaby Developer [email protected] www.BigYellowZone.com www.BigYellowKey.com Follow us on Twitter: http://twitter.com/bigyellowzone Web Design, Online Marketing and VPASP addons |
Edited by - devshb on June 22 2010 12:53:00 |
|
|
JP Solutions
Starting Member
4 Posts |
Posted - June 22 2010 : 13:18:31
|
I think I am out of my depth with this, I don't know which htm file is at fault.
Thanks for your help, I am not sure what to suggest to my friend |
|
|
support
Administrator
4679 Posts |
|
JP Solutions
Starting Member
4 Posts |
Posted - June 23 2010 : 02:01:14
|
Thanks, as I did not originally set up the website I do not know the order ID etc, therefore I cannot register to submit a support ticket. |
|
|
support
Administrator
4679 Posts |
Posted - June 23 2010 : 23:15:12
|
When registering select VPASP LITE as your version. That way you can sign up without an order number.
We will then be able to look at your site for you.
Depending on when the store was purchased your client may need to purchase some support points but we will see once we can have a look at the site.
Thank you.
Cam Flanigan VP-ASP Cart Support
Follow us on Twitter: http://www.twitter.com/vpasp
|
|
|
|
Topic |
|