Jump to content

Edit History

Dan.Jan

Dan.Jan

On 2/14/2024 at 7:54 PM, SeifF said:

Hello,

thank you for reaching out to us.

You need to set the condition for the discount to be used only one time on the backoffice. 

image.thumb.png.04d7e9950ab2bc1a36aab459010fb5c5.png

If the problem persists, you must therefore create a ticket on Github from this link:- https://github.com/PrestaShop/PrestaShop/issues

It will be necessary to detail the problem using useful information :
- Prestashop version,
- PHP version
- Screenshots

I wish you a good day
- Steps to reproduce the problem

The solution, that works for me is to add the following code to:

\src\Adapter\Presenter\Cart\CartPresenter.php

cart_voucher1.thumb.jpg.265f615c8c9835b1c075f928c1588117.jpg

 

Can someone from the Prestashop Developer team have a look at this and tell me if this is the right solution?

Is it possible to override this file?

Thank you.

 

 

 

Dan.Jan

Dan.Jan

On 2/14/2024 at 7:54 PM, SeifF said:

Hello,

thank you for reaching out to us.

You need to set the condition for the discount to be used only one time on the backoffice. 

image.thumb.png.04d7e9950ab2bc1a36aab459010fb5c5.png

If the problem persists, you must therefore create a ticket on Github from this link:- https://github.com/PrestaShop/PrestaShop/issues

It will be necessary to detail the problem using useful information :
- Prestashop version,
- PHP version
- Screenshots

I wish you a good day
- Steps to reproduce the problem

The solution, that works for me is to add the following code to:

\src\Adapter\Presenter\Cart\CartPresenter.php

cart_voucher1.thumb.jpg.265f615c8c9835b1c075f928c1588117.jpg

 

Can someone from the Prestashop Developer team have a look at this and tell me if this is the right solution?

Is it possible to override this file?

Thank you.

 

cart_voucher.jpg

cart_voucher.jpg

Dan.Jan

Dan.Jan

On 2/14/2024 at 7:54 PM, SeifF said:

Hello,

thank you for reaching out to us.

You need to set the condition for the discount to be used only one time on the backoffice. 

image.thumb.png.04d7e9950ab2bc1a36aab459010fb5c5.png

If the problem persists, you must therefore create a ticket on Github from this link:- https://github.com/PrestaShop/PrestaShop/issues

It will be necessary to detail the problem using useful information :
- Prestashop version,
- PHP version
- Screenshots

I wish you a good day
- Steps to reproduce the problem

The solution, that works for me is to add the following code to:

\src\Adapter\Presenter\Cart\CartPresenter.php

 

cart_voucher.thumb.jpg.004d2039774ce9e019c36156dd7c5486.jpg

 

Can someone from the Prestashop Developer team have a look at this and tell me if this is the right solution?

Is it possible to override this file?

Thank you.

 

×
×
  • Create New...