[ic] how to prevent url changing to process

Stefan Hornburg (Racke) racke at linuxia.de
Tue Apr 7 05:30:35 UTC 2020


On 4/7/20 2:49 AM, Steve Bronson wrote:
> How can I prevent url from changing to process when I add an item to the cart?  Here is the code I'm using.
> 
> <form action="[process security=1]" method="POST">
> 
> <input type="hidden" name="mv_todo" value="refresh">
> 
> <!-- <input type=hidden name=mv_order_item value="[item-code]"> -->
> <input type="hidden" name="cat" value="[cgi cat]">
> <input type="hidden" name="title" value="[cgi title]">
> <input type="hidden" name="subCat" value="[cgi subCat]">
> <input type="hidden" name="mv_order_fly" value="description=[item-pos 1]|price=[item-pos 2]">
> <input type="hidden" name="mv_nextpage" value="[item-code]">
> <input type="hidden" name="sku" value="[part-param part_sku]">
> <input type="hidden" name="cartPopup" value="1">
> 	<td align="left" class="prodSKU"><a href="[long-tail [part-param part_sku]]">[part-param part_sku]</a></td>
> 	<td>[data table=products field=description key="[part-param part_sku]"]</td>
> 	<td align="center" class="prodPrice">[price code=[part-param part_sku] quantity=1]</td>
> 	<td align="right"><input type="hidden" name="mv_order_item" value="[part-param part_sku]"><input name="mv_order_quantity" value="1" type="text" class="prodQTY"></td>
> 	<td><button type="submit" class="cartButton">Add to cart</button></td></form>
> 
> 

Hello Steve,

what are you trying to achieve? Which URL you want to use?

Regards
        Racke

> Steve Bronson 
> Air Delights, Inc.
> 
> 
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users at interchangecommerce.org
> https://www.interchangecommerce.org/mailman/listinfo/interchange-users
> 


-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://www.interchangecommerce.org/pipermail/interchange-users/attachments/20200407/58087052/attachment.sig>


More information about the interchange-users mailing list