Set specials on product-edit

A couple of notes - Set specials on product-edit

A couple of notes

by BrockleyJohn » Mon Sep 13, 2021 11:46 am

The delivered folder structure is missing the language level ie.
.../english/...
so shouldn't be directly uploaded.

Addon throws a notice if expiry date not filled in:
Notice: Undefined variable: expires_date in [shop directory]includes/hooks/admin/categories/productSpecials.php on line 44

To fix it change line 40 to:

Code: Select all

	$expires_date = tep_db_prepare_input($_POST['expdate']) ?? null;
BrockleyJohn
PhoenixCart Developer
PhoenixCart Developer
Posts: 31
Joined: Mon Mar 01, 2021 5:37 pm
Contact:

Re: A couple of notes

by Kofod95 » Mon Sep 13, 2021 3:46 pm

Thank you very much for telling me, and even delivering the fixes at the same time!

I will apply and upload a revision as soon as I can.

Structuring the development and release of an addon is something I still struggle to find the best way to do, which is what I blame the missing /english/ for..

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
User avatar
Kofod95
VIP Member
VIP Member
Posts: 605
Joined: Sat Feb 06, 2021 7:38 pm
Contact: