Aaah I see. Thanks @rahul
Posts made by KevLav
Adding shipping options
I have added a new shipping method (as seen in above screenshot). PostNL is a dutch service which has multiple 'collecting package locations'.
For now I would like to add a <select> which has multiple options (multiple cities where you can choose your package to be deliverd to).
To do that I need to make changes to
checkout/onepage/shipping.blade.php, but of course I don't want to edit in the package (because of future updates). I looked up how I could make this happen and saw that
view_render_event()was the solution I was looking for, but I'm not quite getting it to work.
I hardcode added
$this->templates = 'bagisto.shop.checkout.shipping-method.after';to ViewRenderEventManager to add a template to see if this template would render in the correct location. This did work, but of course I don't want to add it like this.
How can I add 'manual code' to the shipping.blade.php from my own package? Or from Laravel?
Adding a cart rule condition
I would like to add a custom coupon rule that discounts an entire category. Can I add this without editing the source code?
Or could this be the same item as https://forums.bagisto.com/topic/154/how-can-i-add-coupon-code-using-api