Re: Admin Ocmod requirement
Posted: Sat May 07, 2022 8:04 am
@##@=+
Anyway its late :-)
Thanks for spotting that staightlight.
One more time.
Anyway its late :-)
Thanks for spotting that staightlight.
One more time.
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
With different time zones, it's always late.mikeinterserv wrote: ↑Sat May 07, 2022 8:04 am@##@=+
Anyway its late :-)
Thanks for spotting that staightlight.
One more time.
That's what happens when people don't use Event Triggers. With OCMod / VQMod, one line can screw up the entire project as well as other extensions as opposed to Events where one line of unmatched results could simply return an empty result without causing anything else to fall apart.mikeinterserv wrote: ↑Sat May 07, 2022 8:23 amI don't blame him if he gave up - I messed that up 3 times :-)
Yes you are absolutely right. I did the OCmod because he needed something quickly and I thought I would make this quickly and then the event version after.straightlight wrote: ↑Sat May 07, 2022 8:28 amThat's what happens when people don't use Event Triggers. With OCMod / VQMod, one line can screw up the entire project as well as other extensions as opposed to Events where one line of unmatched results could simply return an empty result without causing anything else to fall apart.![]()
I can certainly agree to that.mikeinterserv wrote: ↑Sat May 07, 2022 8:36 amYes you are absolutely right. I did the OCmod because he needed something quickly and I thought I would make this quickly and then the event version after.straightlight wrote: ↑Sat May 07, 2022 8:28 amThat's what happens when people don't use Event Triggers. With OCMod / VQMod, one line can screw up the entire project as well as other extensions as opposed to Events where one line of unmatched results could simply return an empty result without causing anything else to fall apart.![]()
See how that turned out :-) You know how it goes with the best intentions.
Hey mikeinterservForgedGround wrote: ↑Sat May 07, 2022 6:05 amNow it doesnt install anything.....![]()
![]()
![]()
![]()
And i see a "leftover" piece of code on line 37Code: Select all
var filter_price =
If i knew hao to make mods and extensions with events or regular ones i would, but i cant, so i must rely on the marketplace.straightlight wrote: ↑Sat May 07, 2022 8:28 amThat's what happens when people don't use Event Triggers. With OCMod / VQMod, one line can screw up the entire project as well as other extensions as opposed to Events where one line of unmatched results could simply return an empty result without causing anything else to fall apart.mikeinterserv wrote: ↑Sat May 07, 2022 8:23 amI don't blame him if he gave up - I messed that up 3 times :-)![]()
Code: Select all
<search index="1"><![CDATA[<div class="form-group">]]></search>
Code: Select all
----------------------------------------------------------------
MOD: Filter by MPN
CODE: <div class="form-group">
LINE: 43
CODE: <td class="text-left">{% if sort == 'p.status' %}
LINE: 167
CODE: <span class="label label-success">{{ product.quantity }}</span> {% endif %}</td>
LINE: 197
CODE: var filter_price =
LINE: 251
CODE: 'model' => $result['model'],
LINE: 403
LINE: 1440
CODE: get['filter_model'], ENT_QUOTES, 'UTF-8'));
LINE: 36
LINE: 95
LINE: 156
LINE: 217
LINE: 323
LINE: 459
LINE: 507
LINE: 608
CODE: protected function getList() {
LINE: 259
CODE: 'filter_model' => $filter_model,
LINE: 380
FILE: admin/language/en-gb/catalog/product.php
CODE: $_['column_model'] = 'Model';
LINE: 24
CODE: if (!empty($data['filter_price'])) {
LINE: 446
----------------------------------------------------------------
No, do not apologise, im very happy to have this working man, honestly, its a life savior fpr memikeinterserv wrote: ↑Sat May 07, 2022 10:05 pmI will change the position in the filter and heading column, no problem
Sorry to frustrate you last night, few silly errors I made.
Tell me exactly what order you want to have.
OK if you are happy then no worries.ForgedGround wrote: ↑Sat May 07, 2022 10:12 pm
Than you man, i appreciate it.
Send me your paypal please, i insist.