Jump to content

[Résolu] redirection si panier vide


Recommended Posts

j'ai trouver le fichier cart-summary dans le fichier js du themes :themes/votrethmes/js/cart-summary.js

vers la ligne 86 88 recherche :

if (parseInt(jsonData.summary.products.length) == 0)
{
$('#center_column').children().each(function() {

modifier comme suis :
if (parseInt(jsonData.summary.products.length) == 0)
{
[removed]="http://votre-redirection.com";// ici votre redirection
$('#center_column').children().each(function() {

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...