Jump to content

Recommended Posts

Share this post


Link to post
Share on other sites

@MITCH70,

Sorry, my fault. I forgot to update that file in the package.

Please use this new one. Only replace catalog/discount_code.php:

 

Discount_Codes_5.0.0_BS_beta_02.zip

Share this post


Link to post
Share on other sites

New Version 5.0.0. uploaded:

Changes:

  • Added support for EDGE BS4
  • Removed ht-Module
  • Moved validation script from ht to content modules
  • Moved code from application_top.php into discount_code.php
  • Added checkout payment content module to replace code injection in HT module
  • Added install warning for required OT module to content modules
  • Added condition to show "Apply" button in shopping cart module only if "Ship in Cart" Order Totals Module is present.
  • Updated template names to actual naming standard
  • Updated template calls in content modules to actual auto inclusion
  • Moved html output to content module template files
  • Normalized True/False typo in OT module
  • Hooked modifications in checkout_process.php and paypal standard files.

 

@MITCH70, thanks for testing

@Tsimi, maybe the main description of the addon could be updated. I have no privileges to edit it, can you please.

Share this post


Link to post
Share on other sites

Maybe just that there are now versions for BS3 and BS4 included

Share this post


Link to post
Share on other sites
Posted (edited)

@raiwa

Never thought about testing the customers side but found a little bug. When I go to My Order History and clicking on View buton from the orders made you get ( 1054 - Unknown column 'discount_codes' in 'field list' ) It’s caused by the change made into the $order_query in includes/classes/order.php. When replace only the query with the original it will run with no problem. Other solution that works is to use the query change and create the column into the database table Orders.

Then test it multiple times and it works fine but cannot see what change it made into the database. Maybe you can try it also.

Edited by MITCH70

Share this post


Link to post
Share on other sites

Hello @MITCH70,

the mods in order.php should only be applied if you are using paypal standard. The column is then added when the ot_discount module is installed (paypal standard must be installed).

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

×