Ubercart Better Cart Links

This module enhances Ubercart's standard Cart Links module by generating encrypted cart links.

How it works is fairly simple. This module uses PHP's Mcrypt library to encrypt and decrypt cart links to reduce the security vulnerabilities as reported here.

Currently there is only a simple administration interface to generate these encrypted cart links. Developers however can use the function provided by this module and use it however you want it.

An example to empty the cart, add 5 of product 1 to the cart, and redirect the user to the cart will be
<a href="http://www.example.com/cart/add/e-p1_q5?destination=cart">Add to cart</a>

When this module is used, the cart link will look like
<a href="http://www.example.com/cart/add/s/iUjbh5D1w2GXt_47_uWv4skt_43_hNB_47_esHeZeIGu7A_43_A9hS4=?destination=cart">Add to cart</a>

Project Information

  • Maintenance status: Unsupported
  • Development status: Obsolete
  • Downloads: 622
  • Last modified: November 27, 2014
  • shield alertThis project is not covered by the security advisory policy.
    It may have publicly disclosed vulnerabilities. Use at your own risk!