Jump to content

Bon de Réduction sous Chrome


Recommended Posts

  • 2 weeks later...

Bonjour,

 

J'ai obtenu, sur un autre site, une réponse qui a solutionné mon problème. 

 

Dans le fichier /modules/paypal/js/paypal.js 

Il faut commenter les lignes suivantes :

 

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();

 

en les remplaçant par :

/*
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();
*/

Edited by firebird (see edit history)
Link to comment
Share on other sites

Pour moi la case n’apparaît que si un code de réduction existe en BO.

Donc apparemment le fonctionnement est ok.

il suffirait de modifier shopping-cart.tpl en touchant aux {if $voucherAllowed} pour que l'affichage soit permanent.

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