Post by mikeinterserv » Sat May 07, 2022 8:04 am

@##@=+
Anyway its late :-)
Thanks for spotting that staightlight.
One more time.

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by straightlight » Sat May 07, 2022 8:19 am

mikeinterserv wrote:
Sat May 07, 2022 8:04 am
@##@=+
Anyway its late :-)
Thanks for spotting that staightlight.
One more time.
With different time zones, it's always late.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by mikeinterserv » Sat May 07, 2022 8:23 am

I don't blame him if he gave up - I messed that up 3 times :-)

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by straightlight » Sat May 07, 2022 8:28 am

mikeinterserv wrote:
Sat May 07, 2022 8:23 am
I don't blame him if he gave up - I messed that up 3 times :-)
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. ;)

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by mikeinterserv » Sat May 07, 2022 8:36 am

straightlight wrote:
Sat May 07, 2022 8:28 am
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. ;)
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.
See how that turned out :-) You know how it goes with the best intentions.

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by straightlight » Sat May 07, 2022 8:38 am

mikeinterserv wrote:
Sat May 07, 2022 8:36 am
straightlight wrote:
Sat May 07, 2022 8:28 am
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. ;)
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.
See how that turned out :-) You know how it goes with the best intentions.
I can certainly agree to that.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by RicardoMoutinho » Sat May 07, 2022 3:38 pm

ForgedGround wrote:
Sat May 07, 2022 6:05 am
mikeinterserv wrote:
Sat May 07, 2022 5:59 am
I know
This is OK now, sorry.
.
Now it doesnt install anything..... ??? ??? ??? ??? ???

And i see a "leftover" piece of code on line 37

Code: Select all

        var filter_price =
Hey mikeinterserv

I didnt quit bro, sorry, i am from Spain, it was 03 am here...i was tired as fxxk...sorry.

In the 3th or 4th post i allready said about this piece of code....i didnt got a reply, so i let it be....

Anyway, ill test right away

Thank you again

Active Member

Posts

Joined
Sat Aug 04, 2018 4:36 am

Post by RicardoMoutinho » Sat May 07, 2022 3:41 pm

straightlight wrote:
Sat May 07, 2022 8:28 am
mikeinterserv wrote:
Sat May 07, 2022 8:23 am
I don't blame him if he gave up - I messed that up 3 times :-)
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. ;)
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.

My project is straight forward.....to set my shop perfectly, and hard code the sxxt out of it....

No mods, no extensions, no nothing....simply PLAIN PHP (theme, platform, extensions, mods). I will pay greatly for it, but no more useless garbage.

Thank you for the kind words in posts.

Active Member

Posts

Joined
Sat Aug 04, 2018 4:36 am

Post by RicardoMoutinho » Sat May 07, 2022 4:22 pm

So, i installed on my LIVE website, running OC 3.0.2.0 with what you know.... ;)

The install was unsuccessful but it was my fault, i didnt edited the line :

Code: Select all

<search index="1"><![CDATA[<div class="form-group">]]></search>
After i edited this line, the install was smooth, refreshed modiifications, refreshed theme/sass

The filter MPN is working and showing, the column MPN is showing

Image

I tested the filter, it works good with MPN code (1 product or +5 products with same MPN)

Image

The Log file after install

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
----------------------------------------------------------------
The only aspect i dont like is the position of both filter and column, BUT HEY, you did an awesome job, i do really appreciate it alot and ill see how to move this to the right place

Please do send me your paypal....i want to buy a couple of beers. ;) ;) ;) ;) ;)

Thank you

Active Member

Posts

Joined
Sat Aug 04, 2018 4:36 am

Post by mikeinterserv » Sat May 07, 2022 10:05 pm

I 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.

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by RicardoMoutinho » Sat May 07, 2022 10:12 pm

mikeinterserv wrote:
Sat May 07, 2022 10:05 pm
I 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.
No, do not apologise, im very happy to have this working man, honestly, its a life savior fpr me

Honestly, let it be like this, i have lots of stuff in the list (id, pic, description, model, manufacturer, cost, profit, price)....it doesnt really matter where it is, it is working and thats that.

Than you man, i appreciate it.

Send me your paypal please, i insist.

Active Member

Posts

Joined
Sat Aug 04, 2018 4:36 am

Post by mikeinterserv » Sat May 07, 2022 10:18 pm

ForgedGround wrote:
Sat May 07, 2022 10:12 pm

Than you man, i appreciate it.

Send me your paypal please, i insist.
OK if you are happy then no worries.
You don't have to do that, you can just remember me another day if you need a project done.
:-)

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by RicardoMoutinho » Sat May 07, 2022 10:28 pm

Perfect. Promise to do that. We will be in contact for sure

Active Member

Posts

Joined
Sat Aug 04, 2018 4:36 am
Who is online

Users browsing this forum: No registered users and 63 guests