Jump to content

Recommended Posts

I found the error in my console dear--

Warning: include(includes/classes/order.php): failed to open stream: No such file or directory in /xx/xx/xxx/discount_code.php on line 29

But the catalog has no such file in the classes folder..

Please help me understand...

Share this post


Link to post
Share on other sites

change the path to the new location:

includes/system/versioned/1.0.0.0/order.php

Sorry no more support for unupdated addons.

If you can't come up with these fixes, please wait until the update is released. Sorry.

Share this post


Link to post
Share on other sites
1 minute ago, raiwa said:

change the path to the new location:

includes/system/versioned/1.0.0.0/order.php

Sorry no more support for unupdated addons.

If you can't come up with these fixes, please wait until the update is released. Sorry.

Thank you very much for your guidance; Deeply appreciated dear..

Very warm Regds./

radhavallabh

Share this post


Link to post
Share on other sites
Posted (edited)
On 6/3/2020 at 10:47 AM, radhavallabh said:

Thank you very much for your guidance; Deeply appreciated dear..

Very warm Regds./

radhavallabh

I just wanted to update the Discount Code AddOn and found that the above path is already fixed since version 5.2.0.

You should use the latest AddOn versions

Edited by raiwa

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

Uploaded Update:

Discount Codes 5.3.0.

Compatibility: Phoenix 1.0.6.1+, tested with Phoenix 1.0.7.2

  • Updated order total module to abstract_module.
  • Updated shopping cart content module to abstract_executable_module.
  • Fixed some minor order total calculation errors. Thanks to @yahalimu for the report and sponsoring
  • Changed checkout payment content module to hook and new page layout.
  • Changed checkout process hook to checkout module.
  • Switched off error reporting in discount.php to stabilize ajax processing if error reporting is on.
  • Added accidentally removed "Include in order info" setting in admin/discount_codes.php.

Share this post


Link to post
Share on other sites
On 6/13/2020 at 12:27 PM, raiwa said:

Uploaded Update:

Discount Codes 5.3.0.

Compatibility: Phoenix 1.0.6.1+, tested with Phoenix 1.0.7.2

  • Updated order total module to abstract_module.
  • Updated shopping cart content module to abstract_executable_module.
  • Fixed some minor order total calculation errors. Thanks to @yahalimu for the report and sponsoring
  • Changed checkout payment content module to hook and new page layout.
  • Changed checkout process hook to checkout module.
  • Switched off error reporting in discount.php to stabilize ajax processing if error reporting is on.
  • Added accidentally removed "Include in order info" setting in admin/discount_codes.php.

Hello @raiwa I'm currently on Discount Codes version 5.1.2 BS. Is it possible to upgrade directly to version 5.3.0 without going through the other versions?

Share this post


Link to post
Share on other sites

Yes. Just follow the update instructions:

Update 5.2.1. to 5.3.0

It's the same for previous versions.

Share this post


Link to post
Share on other sites
14 hours ago, raiwa said:

Yes. Just follow the update instructions:

Update 5.2.1. to 5.3.0

It's the same for previous versions.

Does it till need core code changes?

Share this post


Link to post
Share on other sites
Posted (edited)
3 hours ago, LeeFoster said:

Does it till need core code changes?

This is covered in the install guide.  I see one minor core code change which Rainer has already notified the core code team about addressing if possible plus one more if using Stripe.

Edited by peterpil19

CE PHOENIX SUPPORTER

Support the Project, go PRO and get access to certified add ons

Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design.

Download the latest version of CE Phoenix from gitHub here

Share this post


Link to post
Share on other sites

Number of Use: 1
For one customer, empty is unlimited

does not seem to work, I can use it again and again and again 🙄

Share this post


Link to post
Share on other sites
1 hour ago, rupruprup said:

Number of Use: 1
For one customer, empty is unlimited

does not seem to work, I can use it again and again and again 🙄

@rupruprup,

Thanks for the advice.

I missed to replace the hook with the new checkout module.

Upladed update 5.3.1 with the fix.:

Discount Codes Version 5.3.1.

Compatibility: Phoenix 1.0.6.1+, tested with Phoenix 1.0.7.2

Changes Version 5.3.1
Added missing checkout module.

Share this post


Link to post
Share on other sites

I did what you said but the effect is the same ... the code is not updated

Is there a missing code change ? Your install notes did mention anything ...

Share this post


Link to post
Share on other sites

Instructions Point 2:

--------------------------------------------------------------
2. Modify the includes/modules/checkout/after.php file.
--------------------------------------------------------------
2.1. FIND:

  include __DIR__ . '/update_stock.php';
  include __DIR__ . '/update_products_ordered.php';

ADD AFTER:

// Discount Codes
  include __DIR__ . '/update_discount_codes.php';

 

Share this post


Link to post
Share on other sites

It's replaced by a hook:

Quote

Version 5.3.0.   
                  Changed checkout payment content module to hook and new page layout.

 

Share this post


Link to post
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

×