Search found 83 matches

Search found 83 matches

Re: Installation History Auto cleanup

but Upon Removing one row from it in the db.table That is a good way to destroy your database. You can not (well you can obviously but it is not wise to) just delete a row in the database, other things are usually connected to it. I could still look at it in the history By this you mean the modific...

Jump to post
  • Fri Apr 07, 2023 4:41 am
  • Replies 9
  • Views 1149
Re: Installation History Auto cleanup

Well it's not certanly true I've done the test and the configuration ended corrupted or basically gone... NO OC VERSION As grgr said, it should not be so. You will have to discuss that with the extension developer. Configs should not be effected. So either you did it wrong or the developer has used...

Jump to post
  • Fri Apr 07, 2023 12:12 am
  • Replies 9
  • Views 1149
Re: Installation History Auto cleanup

Well it's not certanly true I've done the test and the configuration ended corrupted or basically gone...
Other question, where does exactly the table history takes the information from? which table in the DB?

Jump to post
  • Thu Apr 06, 2023 10:50 pm
  • Replies 9
  • Views 1149
Re: Installation History Auto cleanup

Remove the old one before installing the new / updated one. OCMOD (in my opinion) best feature (above VQMOD) in that when you install it makes a record of all the files installed in the database and when you uninstall it, it removes all those files. Hi, Yes I do agree, but If you remove the old one...

Jump to post
  • Thu Apr 06, 2023 8:34 pm
  • Replies 9
  • Views 1149
[SOLVED] Installation History Auto cleanup

Hello, I have noticed that when using the install feature this will add the row for the module/ocmod/ etc installation and that's Good and OK, But I also noticed that If we Re-install the same for whatever the reason (normally an updated version) this will be created as a second Row in the table. So...

Jump to post
  • Thu Apr 06, 2023 7:01 pm
  • Replies 9
  • Views 1149
Re: Help me understand the Pricing models

Yes, I agree it doesn't make sense to work that way. It would make more sense to always use the lowest price. Issues have been raised over more than a decade, they always get rejected. https://github.com/opencart/opencart/issues/237 https://github.com/opencart/opencart/pull/4346 https://github.com/...

Jump to post
  • Mon Apr 03, 2023 8:35 pm
  • Replies 4
  • Views 1385
Re: Help me understand the Pricing models

If a special price is set it will override any other price regardless of quantity. You can see the code below. https://github.com/opencart/opencart/blob/4c26f35abb0b6f53e4b451840c97403904c56192/upload/system/library/cart/cart.php#L174-L194 Thanks, But wouldn't this logic defeat the pourpose of a Di...

Jump to post
  • Mon Apr 03, 2023 7:37 pm
  • Replies 4
  • Views 1385
Re: Warning: Install folder still exists and should be deleted for security reasons!

I still wondering why the Core team hasn't come with the Function to delete these after a sucess install/upgrade...

Jump to post
  • Mon Apr 03, 2023 6:03 pm
  • Replies 2
  • Views 1924
Re: Upgrade 3.0.3.3 to 3.0.3.7 or 3.0.3.8

Technical method = Use GIT + OCMOD for your mods with error='log' so you could track any changes in it + Don't use the Upgrade sql File (Unless you alter these from MyISAM and Charset + Collation) otherwise you will spend too much time fixing these ... Have all the modules previously updated to work...

Jump to post
  • Mon Apr 03, 2023 6:00 pm
  • Replies 21
  • Views 20617
[SOLVED] Help me understand the Pricing models

Hello! Opencart Version 3.0.3.8 I'm would like to understand the logic applied for PRICE < DISCOUNT > SPECIAL PRICE I noticed the following Excluding available dates for simplicity on the test cases below If we have: Price (only) that is the only price availble Price > Special Price = the special pr...

Jump to post
  • Mon Apr 03, 2023 5:47 pm
  • Replies 4
  • Views 1385
[SOLVED] Re: Enable and Disable Manufacturers

It's neccesary also? Of course. You don't want to display on catalog side only enabled manufacturers? Exactly, well let me check it out thanks for the TIP ;D - Will come back later for the results or If I still have doubts. Thanks again I did the mod but this still showing the manufacturers in the ...

Jump to post
  • Tue Mar 28, 2023 8:33 pm
  • Replies 9
  • Views 887
Re: Enable and Disable Manufacturers

xxvirusxx wrote:
Tue Mar 28, 2023 4:59 am
haxcop wrote:
Tue Mar 28, 2023 1:44 am
It's neccesary also?
Of course. You don't want to display on catalog side only enabled manufacturers?
Exactly, well let me check it out thanks for the TIP ;D - Will come back later for the results or If I still have doubts. Thanks again

Jump to post
  • Tue Mar 28, 2023 5:19 am
  • Replies 9
  • Views 887
Re: Enable and Disable Manufacturers

You have added status=1 here? https://github.com/opencart/opencart/blob/3.0.x.x_Maintenance/upload/catalog/model/catalog/manufacturer.php#L4 and here? https://github.com/opencart/opencart/blob/3.0.x.x_Maintenance/upload/catalog/model/catalog/manufacturer.php#L11 No, I actually only modified the adm...

Jump to post
  • Tue Mar 28, 2023 1:44 am
  • Replies 9
  • Views 887
Re: Enable and Disable Manufacturers

Don't you think you should change the model queries on the catalog side to cater for the status field ? Yes I do belive so, and I noticed the `manufacturer_to_store` later after I submit my question here, so I see the condition is set automatically copy the `manufacturer_id` and `store_id` to the t...

Jump to post
  • Tue Mar 28, 2023 12:29 am
  • Replies 9
  • Views 887
Re: Enable and Disable Manufacturers

where is the code for Catalog side? I'm not adding new files I'm currently adding the modification to the current opencart 3.0.3.8 files... AFAIK unselecting the store from the manufacturer form will remove the row in the table `manufacturer_to_store` related to the selected manufacturer, so, when ...

Jump to post
  • Tue Mar 28, 2023 12:07 am
  • Replies 9
  • Views 887
[SOLVED]Enable and Disable Manufacturers

Hello, I have created an ocmod to enable and disable Manufacturers to appear on the manufacturer page with the following code but I still get the manufacturer showing in it. I added a new column in the manufacturer table as `status` - `tinyint(1)` This code emulates the category methods and set to 1...

Jump to post
  • Mon Mar 27, 2023 8:46 pm
  • Replies 9
  • Views 887
Help with a Twig Syntax for a Permission Policy: self=("url")

Hi and thanks for your time. I'm currently doing a twig file that when selecting the option Self, this needs to open an infput field for the user input text ( in this case a URL or Path) . Example: Accelerometer [select] condiontion (if 'self' is selected show = [input_text_url]) and the end result ...

Jump to post
  • Sun Feb 05, 2023 10:40 pm
  • Replies 1
  • Views 2801
[SOLVED] Automatically generate product sort number

Thanks for looking at my question. I'm not a dev so please be patience I have source this code on the marketplace but it's not longer maintened... Testing this ocmod on my testing installation in Opencart 3.0.3.6 and 3.0.3.8 This xml file will automatically add a product sort order number in the Fro...

Jump to post
  • Sun Aug 14, 2022 11:13 pm
  • Replies 1
  • Views 1809
Re: [SOLVED] Can't login to admin panel

ISSUE Still appearing in latest Branch 3.0.3.8

Jump to post
  • Tue Aug 09, 2022 7:35 pm
  • Replies 39
  • Views 67932
[SOLVED] Regenerate Image cache via CLI

Hello, I would like to know if there's a known way to re-generate the Image Cache folder using the cli without the need to navigate to each page/product one at a time? Very important to me as I'm recreating a site with more than 15k items and this will crash due to a time out when trying to navigate...

Jump to post
  • Wed May 25, 2022 3:41 am
  • Replies 3
  • Views 834

Search found 83 matches