Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 Online Shop Only Works With Internet Explorer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JP Solutions
Starting Member

4 Posts

Posted - June 22 2010 :  07:06:33  Show Profile  Reply with Quote
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  Show Profile  Visit support's Homepage  Reply with Quote
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
Go to Top of Page

JP Solutions
Starting Member

4 Posts

Posted - June 22 2010 :  08:12:30  Show Profile  Reply with Quote
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"
Go to Top of Page

devshb
Senior Member

United Kingdom
1904 Posts

Posted - June 22 2010 :  12:36:00  Show Profile  Visit devshb's Homepage  Reply with Quote
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
Go to Top of Page

JP Solutions
Starting Member

4 Posts

Posted - June 22 2010 :  13:18:31  Show Profile  Reply with Quote
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
Go to Top of Page

support
Administrator

4679 Posts

Posted - June 22 2010 :  20:37:48  Show Profile  Visit support's Homepage  Reply with Quote
Hi there

You can also submit this into our helpdesk so our support team can look into this directly form you.

https://helpdesk.vpasp.com

Thank you.

Cam Flanigan
VP-ASP Cart Support

Follow us on Twitter:
http://www.twitter.com/vpasp
Go to Top of Page

JP Solutions
Starting Member

4 Posts

Posted - June 23 2010 :  02:01:14  Show Profile  Reply with Quote
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.
Go to Top of Page

support
Administrator

4679 Posts

Posted - June 23 2010 :  23:15:12  Show Profile  Visit support's Homepage  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00