insert batch with group checkbox |
If you have this:
PHP Code: <input type="checkbox" name="preview[]" value="<?= $product->id ?>"/> then in your controller you would do PHP Code: foreach($this->request->getPost('preview) as $key => $product_id {
Website: marcomonteiro.net | Blog: blog.marcomonteiro.net | Twitter: @marcogmonteiro | TILThings: tilthings.com
|
Messages In This Thread |
insert batch with group checkbox - by eleumas - 07-02-2020, 02:03 AM
RE: insert batch with group checkbox - by marcogmonteiro - 07-02-2020, 06:41 AM
RE: insert batch with group checkbox - by eleumas - 07-02-2020, 07:19 AM
RE: insert batch with group checkbox - by DarkKnight - 07-02-2020, 11:26 AM
RE: insert batch with group checkbox - by eleumas - 07-02-2020, 12:36 PM
RE: insert batch with group checkbox - by ojmichael - 07-02-2020, 09:32 PM
RE: insert batch with group checkbox - by marcogmonteiro - 07-03-2020, 01:25 AM
|