Post by one2012 » Thu Oct 30, 2014 6:57 am

Hello! I whant try your great mod, install it but it not work. My versions os OC is 1.5.6.4 and here is VQMod logs:
---------- Date: 2014-10-28 12:53:22 ~ IP : xx.xx.xx.xx ----------
REQUEST URI : /index.php?route=product/product&path=82_108&product_id=173
MOD DETAILS:
modFile : /home/xxx/web/vqmod/xml/remove-add-to-cart-if-out-of-stock.xml
id : Remove Add to Cart button for Out of Stock items
version : 1.2
vqmver : 2.1.7
author : OC2PS

File Name : catalog/view/theme/theme394/template/module/bestseller.tpl(0)
VQModObject::applyMod - SEARCH NOT FOUND (ABORTING MOD): <input type="button" value="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button" />
----------------------------------------------------------------------


---------- Date: 2014-10-28 12:53:33 ~ IP : xx.xx.xx.xx ----------
REQUEST URI : /index.php?route=product/product&product_id=392
MOD DETAILS:
modFile : /home/xxx/web/vqmod/xml/remove-add-to-cart-if-out-of-stock.xml
id : Remove Add to Cart button for Out of Stock items
version : 1.2
vqmver : 2.1.7
author : OC2PS

File Name : catalog/view/theme/theme394/template/module/bestseller.tpl(0)
VQModObject::applyMod - SEARCH NOT FOUND (ABORTING MOD): <input type="button" value="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button" />
----------------------------------------------------------------------


---------- Date: 2014-10-28 12:54:10 ~ IP : xx.xx.xx.xx ----------
REQUEST URI : /admin/view/image/ui.totop.png
MOD DETAILS:
modFile : /home/xxx/web/vqmod/xml/remove-add-to-cart-if-out-of-stock.xml
id : Remove Add to Cart button for Out of Stock items
version : 1.2
vqmver : 2.1.7
author : OC2PS

File Name : catalog/view/theme/theme394/template/module/bestseller.tpl(0)
VQModObject::applyMod - SEARCH NOT FOUND (ABORTING MOD): <input type="button" value="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button" />
----------------------------------------------------------------------
Where can be problem and can you help me fix it?

Thank you!

New member

Posts

Joined
Wed Feb 06, 2013 11:22 pm

Post by OC2PS » Mon Nov 24, 2014 9:27 pm

one2012 wrote:Hello! I whant try your great mod, install it but it not work.
Are you using OpenCart Default theme?

OC2PS
OC 2.3.0.2, vQmod 2.6.2, Journal2 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by one2012 » Mon Nov 24, 2014 9:41 pm

OC2PS wrote:
one2012 wrote:Hello! I whant try your great mod, install it but it not work.
Are you using OpenCart Default theme?
No, I use template buyed on Templatemoster. You mean need change path to my template in module?

New member

Posts

Joined
Wed Feb 06, 2013 11:22 pm

Post by OC2PS » Mon Nov 24, 2014 9:59 pm

one2012 wrote: need change path to my template in module?
That would be a start but may not be enough. Different themes are coded differently. This may need a full fledged customization.

OC2PS
OC 2.3.0.2, vQmod 2.6.2, Journal2 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by one2012 » Mon Nov 24, 2014 10:07 pm

OC2PS wrote:
one2012 wrote: need change path to my template in module?
That would be a start but may not be enough. Different themes are coded differently. This may need a full fledged customization.
I see, I will check again and put some logs if I get any error. Thank you!

New member

Posts

Joined
Wed Feb 06, 2013 11:22 pm

Post by kelemvor » Mon Feb 09, 2015 10:53 am

It baffles me that a mod like this is even needed. But thanks. Works great on 1.5.5.1.

Active Member

Posts

Joined
Fri Oct 12, 2012 6:58 am

Post by sunsys » Sat Jul 04, 2015 6:51 am

Can you make the same thing work for OC-2031 please. It is shame that this feature is still not built into OC-2031 even after there being so much demand for this feature.

Regards,
Sun Systems
Industrial Electronics and Instrumentation


User avatar
Active Member

Posts

Joined
Tue Jan 27, 2015 5:19 am

Post by OC2PS » Sun Jul 15, 2018 9:17 pm

v3.0
  • OC3 compatibility
  • Journal 2 compatibility
  • OCMod
  • Advertising removed

OC2PS
OC 2.3.0.2, vQmod 2.6.2, Journal2 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by opentoshopping » Mon Jul 23, 2018 2:10 am

Hi, I cant get this working on Opencart 2, with Journal 2... can you help?

New member

Posts

Joined
Sun Mar 11, 2018 8:45 pm

Post by OC2PS » Mon Jul 23, 2018 2:26 am

Yeah, sorry, J2 compatibility was added to v3.0, which is compatible only with OC 3.x

And in any case, there is no version of this extension for OC 2.x

OC2PS
OC 2.3.0.2, vQmod 2.6.2, Journal2 theme
Arcfesték, Csillámtetoválás, Henna
Image
Check out: All my extensions | My FREE extensions


User avatar
Active Member

Posts

Joined
Wed Jul 22, 2009 4:15 am
Location - Hungary

Post by halituzan » Sat Apr 27, 2019 6:24 pm

Hi I have added this module to my site but I am using fastor theme. I ran into a big problem. Adding button to basket in all my products has disappeared. How do I get this operation back.

Newbie

Posts

Joined
Tue Dec 18, 2018 2:10 am

Post by vrepub » Mon Dec 30, 2019 9:49 am

Hello.
OC v3.0.3.2
Default theme

Installed this extension but I can't get it to work at all. 0 stock items still have add to cart button and items are still able to be put in cart.

Only had one other extension installed "Square payments". Disabled that, but this still does not work.

Install latest vqmod (v2.4.1) from https://code.google.com/archive/p/vqmod/downloads Still no luck.


Any insight as to what I can try next?

Newbie

Posts

Joined
Mon Dec 30, 2019 2:44 am

Post by xxvirusxx » Mon Dec 30, 2019 4:26 pm

vrepub wrote:
Mon Dec 30, 2019 9:49 am
Install latest vqmod (v2.4.1) from https://code.google.com/archive/p/vqmod/downloads Still no luck.
Better install fom here
https://github.com/vqmod/vqmod/releases

OC 2.3.0.2 | OC 3.0.3.6 | Extensions converted by me | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by vrepub » Tue Dec 31, 2019 5:12 am

xxvirusxx wrote:
Mon Dec 30, 2019 4:26 pm
vrepub wrote:
Mon Dec 30, 2019 9:49 am
Install latest vqmod (v2.4.1) from https://code.google.com/archive/p/vqmod/downloads Still no luck.
Better install fom here
https://github.com/vqmod/vqmod/releases
Tried it, no difference. And as far as I know, I should not need VQMOD with v3+ anyway, right?

Vanilla install and the mod just doesn't work for me.

Is it still being supported? If not, would like to know so I can look for something else. This would have been perfect though.

Newbie

Posts

Joined
Mon Dec 30, 2019 2:44 am

Post by xxvirusxx » Tue Dec 31, 2019 6:25 am

vrepub wrote:
Tue Dec 31, 2019 5:12 am
Tried it, no difference. And as far as I know, I should not need VQMOD with v3+ anyway, right?

Vanilla install and the mod just doesn't work for me.

Is it still being supported? If not, would like to know so I can look for something else.
You don't need VQMOD if you don't use vqmod extensions.
Vanilla install? You mean clean install?
If you see here, there is a version for 3.x

https://www.opencart.com/index.php?rout ... on_id=7095

OC 2.3.0.2 | OC 3.0.3.6 | Extensions converted by me | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by vrepub » Tue Dec 31, 2019 11:22 am

xxvirusxx wrote:
Tue Dec 31, 2019 6:25 am
vrepub wrote:
Tue Dec 31, 2019 5:12 am
Tried it, no difference. And as far as I know, I should not need VQMOD with v3+ anyway, right?

Vanilla install and the mod just doesn't work for me.

Is it still being supported? If not, would like to know so I can look for something else.
You don't need VQMOD if you don't use vqmod extensions.
Vanilla install? You mean clean install?
If you see here, there is a version for 3.x

https://www.opencart.com/index.php?rout ... on_id=7095
Yes, vanilla install, meaning no other mods, extensions or themes installed. Plain old "vanilla" 3.0.3.2, with VQMOD v2.6.4 from https://github.com/vqmod/vqmod/releases ... 4-opencart

Yes, https://www.opencart.com/index.php?rout ... on_id=7095 is one I have installed, the appropriate one for my version of OC, v 3.0.3.2
Last edited by vrepub on Wed Jan 01, 2020 1:15 am, edited 1 time in total.

Newbie

Posts

Joined
Mon Dec 30, 2019 2:44 am

Post by xxvirusxx » Tue Dec 31, 2019 2:58 pm

Checked now.

3.x version is an ocmod extension, so you don't need VQMOD.
You have to install as OCMOD, then refresh ocmod modification, clear SASS cache, theme cache.

OC 2.3.0.2 | OC 3.0.3.6 | Extensions converted by me | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by vrepub » Wed Jan 01, 2020 1:14 am

xxvirusxx wrote:
Tue Dec 31, 2019 2:58 pm
Checked now.

3.x version is an ocmod extension, so you don't need VQMOD.
You have to install as OCMOD, then refresh ocmod modification, clear SASS cache, theme cache.
Well, I installed it the way the instructions say to install it. Still doesn't work.

I realize I do not need VQMOD for v 3.0.3.2, but I installed it anyway because I have no other solutions to get this mod to work.

Newbie

Posts

Joined
Mon Dec 30, 2019 2:44 am

Post by xxvirusxx » Wed Jan 01, 2020 3:15 am

Extension work just fine.

OC 2.3.0.2 | OC 3.0.3.6 | Extensions converted by me | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by vrepub » Wed Jan 01, 2020 3:23 am

Well I decided to do a fresh install with a fresh database.

Deleted Opencart and DB.
Installed opencart on new DB.
Installed this mod according to directions.
Did not install VQMOD this time.

Mod still not working.

Then I cleared the Theme Cache. Mod still not working.

Then I cleared the SASS cache. Mod still not working. And to complicate things even more, clearing the SASS cache crashed my opencart admin area.
Fatal error: Uncaught Error: Class 'Scssc' not found in /home/www/mysite.com/admin/controller/startup/sass.php:9 Stack trace: #0 /home/www/mysite.com/system/engine/action.php(79): ControllerStartupSass->index() #1 /home/www/mysite.com/system/engine/router.php(67): Action->execute(Object(Registry)) #2 /home/www/mysite.com/system/engine/router.php(46): Router->execute(Object(Action)) #3 /home/www/mysite.com/system/framework.php(165): Router->dispatch(Object(Action), Object(Action)) #4 /home/www/mysite.com/system/startup.php(104): require_once('/home/www/mysit...') #5 /home/www/mysite.com/admin/index.php(19): start('admin') #6 {main} thrown in /home/www/mysite.com/admin/controller/startup/sass.php on line 9
The front end did not crash, only admin.

So I deleted and reinstalled OC & db.

Deleting SASS cache still crashed my admin.


Looked for a solution and found that to supposedly fix this you have to reupload the admin folder and "fix the storage path in admin/config.php".

But it looks to me that the storage path in that admin/config.php file is just fine, so I have no idea how to fix this new problem.

Here's what my admin/config.php looks like (DB info removed)e...

Code: Select all

// HTTP
define('HTTP_SERVER', 'https://mysite.com/admin/');
define('HTTP_CATALOG', 'https://mysite.com/');

// HTTPS
define('HTTPS_SERVER', 'https://mysite.com/admin/');
define('HTTPS_CATALOG', 'https://mysite.com/');

// DIR
define('DIR_APPLICATION', '/home/www/mysite.com/admin/');
define('DIR_SYSTEM', '/home/www/mysite.com/system/');
define('DIR_IMAGE', '/home/www/mysite.com/image/');
define('DIR_STORAGE', '/home/www/mysite.com/storage/');
define('DIR_CATALOG', '/home/www/mysite.com/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
Last edited by vrepub on Wed Jan 01, 2020 5:36 am, edited 2 times in total.

Newbie

Posts

Joined
Mon Dec 30, 2019 2:44 am
Who is online

Users browsing this forum: No registered users and 0 guests