Jump to content

Bloc " bon de réduction " qui ne s'affiche pas sur chrome


Recommended Posts

Bonjour,

 

Comme beaucoup, après avoir créé un code de réduction, impossible de l'utiliser dans le panier.

Le bloc " bon de réduction " n'apparaît pas sur Chrome car sur IE pas de souci.!!

 

La solution pour remédier au problème : 

 

modifier le fichier paypal.js : modules/paypal/views/js/paypal.js

 

il faut supprimer , #cart_voucher *

 

/* 1.5 One page checkout*/
var qty = $('.qty-field.cart_quantity_input').val();
$('.qty-field.cart_quantity_input').after(qty);
$('.qty-field.cart_quantity_input, .cart_total_bar, .cart_quantity_delete, #cart_voucher *').remove();
 
pour obtenir : 
 
/* 1.5 One page checkout*/
var qty = $('.qty-field.cart_quantity_input').val();
$('.qty-field.cart_quantity_input').after(qty);
$('.qty-field.cart_quantity_input, .cart_total_bar, .cart_quantity_delete').remove();
 
et depuis plus de souci, le bloc apparaît bien sur Chrome.
 
Pour ceux qui aurait cette erreur.
 
Cdlt

 

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...