Hello!
I have Joomla 1.5 website with VirtueMart 1.1.7 installed + SH404SEF
When i switch from Mobile version to Desktop version "add to cart" button in virtuemart not working - if i click "add to cart" product not adding to cart and it is just redirecting to homepage without any error. On desktop (without switching) it is working fine.
After switching to Desktop version parameter "?device=" adding to all urls of website and i think it is reason of this issue. This parameter breaks "add to cart" button.
I want to know how to fix it? It is possible hide parameter "?device=" in url ?
HTML code of virtuemart add to cart form:
<div class="prod_buy">
<form action="http://mywebsite.com/index.php" method="post" name="addtocart" id="addtocart">
<input type="hidden" name="option" value="com_virtuemart" />
<input type="hidden" name="page" value="shop.cart" />
<input type="hidden" name="Itemid" value="2" />
<input type="hidden" name="func" value="cartAdd" />
<input type="hidden" name="prod_id" value="32" />
<input type="hidden" name="product_id" value="32" />
<input type="hidden" name="quantity" value="1" />
<input type="hidden" name="set_price[]" value="" />
<input type="hidden" name="adjust_price[]" value="" />
<input type="hidden" name="master_product[]" value="" />
<input type="submit" class="addtocart_button_module" value="Add to Cart" title="Add To Cart" />
</form>