Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Phoca Cart - complex e-commerce extension
CRM-Hero
Phoca Member
Posts: 31 Joined: 24 Sep 2023, 12:11
Post
by CRM-Hero » 21 Dec 2023, 21:27
Hello Folks,
I have modified coupon.php (works as intended)
(... administrator/components/com_phocacart/libraries/phocacart/coupon/coupon.php)
Where do I have to place the override file ?
Thanks in advance
Roland
Current System:
Joomla 4.4.1
PhocaCart 4.0.10
Nidzo
Phoca Professional
Posts: 387 Joined: 07 Nov 2018, 14:55
Post
by Nidzo » 22 Dec 2023, 01:27
/templates/your_template/html/layouts/com_phocacart/
mino182
Phoca Professional
Posts: 189 Joined: 12 Feb 2015, 13:30
Post
by mino182 » 22 Dec 2023, 10:29
You can't override library...
Jan
Phoca Hero
Posts: 48386 Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:
Post
by Jan » 22 Dec 2023, 12:11
Yes, only layout files can be overriden by template.
Jan
Nidzo
Phoca Professional
Posts: 387 Joined: 07 Nov 2018, 14:55
Post
by Nidzo » 22 Dec 2023, 12:15
My bad! I saw layouts instead libraries in @CRM-Hero's URL
CRM-Hero
Phoca Member
Posts: 31 Joined: 24 Sep 2023, 12:11
Post
by CRM-Hero » 22 Dec 2023, 13:18
Hi mino,
thanks for the clarification. I was already afraid that this is the case; but better to have it confirmed.
Does this mean, that I have to manually change every time an update is done?
Any possibility for a
"Workaround" ?
Merry Christmas and a Happy New Yea to all !
Roland
mino182 wrote: ↑ 22 Dec 2023, 10:29
You can't override library...
mino182
Phoca Professional
Posts: 189 Joined: 12 Feb 2015, 13:30
Post
by mino182 » 22 Dec 2023, 17:33
CRM-Hero wrote: ↑ 22 Dec 2023, 13:18
Does this mean, that I have to
manually change every time an update is done?
Yes... It is 1 file, so where is the problem?
Luckily, Phoca Cart is not updated too often... (because it was programmed well from the beginning
)
MCAAHNY to you too.