Search found 1699 matches

Search found 1699 matches

Re: Hide out of stock products.

It is an experiment for latest version 4.0.2.1.
I try to understand and use events to replace the ocMods created for OC 3.*

SoldCorners for OC 3.0.2.* and 3.0.3.* has no 'Hide' option. It is 1 ocMod.xml file with stylesheet and image.
Demo for 3.0.2.0 version

Jump to post
  • Wed Apr 26, 2023 3:27 pm
  • Replies 12
  • Views 1669
Re: Hide out of stock products.

Out of stock products with notice 'Out of stock' and add to cart button disabled ? The notice is whatever 'Out Of Stock Status' is set.
Demo PprMkr Soldcorners for OC 4.0.2.1
Image
When 'Hide product' is enabled, product is invisible for visitor.

Jump to post
  • Wed Apr 26, 2023 2:58 pm
  • Replies 12
  • Views 1669
Re: Aanvinken akkoord bij afrekenen

https://forum.opencart.com/viewtopic.php?p=855705#p855705 Eerst even antwoord geven op de gestelde vragen voordat er een mogelijke oplossing gegeven kan worden ... Dus: - welke modificaties - theme - link naar de site Standaard is de checkbox niet afgevinkt! Komt dus door een modificatie of door een...

Jump to post
  • Fri Apr 07, 2023 12:41 am
  • Replies 2
  • Views 4140
Re: Inserting background image

Using tall image for menu does not show the gradient in that image. And on smaller screens when menu height changes, image does not look the same. Better use linear-gradient: background-color: #4d84a8; background-image: linear-gradient(to bottom, #4d84a8, #4d84a8, #4d84a8, #4d84a8, #487b9d, #42718f,...

Jump to post
  • Sat Mar 11, 2023 5:32 pm
  • Replies 3
  • Views 265
Re: Products are not showing correctly on their blocks

stylesheet.css, starting at line 688: @media (min-width: 1200px) { #content .col-lg-2:nth-child(6n+1), #content .col-lg-3:nth-child(4n+1), #content .col-lg-4:nth-child(3n+1), #content .col-lg-6:nth-child(2n+1) { clear:left; } } In your bootstrap.css col-lg-3 is set to 33.3%. Change stylesheet line 6...

Jump to post
  • Wed Feb 22, 2023 8:19 pm
  • Replies 4
  • Views 623
Re: send sms to manufacturer after new order

In catalog/model/checkout/order.php add : public function checkDatabaseonManufacturerPhone() { $manufacturerphone_altered = $this->db->query("SHOW COLUMNS FROM `".DB_PREFIX."manufacturer` LIKE 'telephone';"); if ( !$manufacturerphone_altered->row ) { $this->db->query("ALTER ...

Jump to post
  • Sat Feb 18, 2023 5:32 pm
  • Replies 8
  • Views 801
Re: Special access during maintenance?

Is there a way I can give people access to the site while in maintenance mode? Or some other type of workaround to blocking general access to the site and giving specific people access by ways of registering them or a direct url? ....without giving them admin access. And without putting a bunch of ...

Jump to post
  • Wed Jan 11, 2023 9:05 pm
  • Replies 8
  • Views 706
Re: [SOLVED] How to make decimals smaller?

@katalin
Modification changes the text shown by library currency. And yes, all of them.

Search for thekrotek's JS based solution. Maybe it fit's your need.

Jump to post
  • Mon Jan 09, 2023 11:17 pm
  • Replies 9
  • Views 1612
Re: [SOLVED] How to make decimals smaller?

Code: Select all

    	$dd = '<sup>' . substr($string, (-1 * (int)$decimal_place)) . '</sup>';
		
		$string = substr_replace($string, $dd, (-1 * ((int)$decimal_place)-1));

Jump to post
  • Thu Jan 05, 2023 4:08 pm
  • Replies 9
  • Views 1612
Re: How to move disable modules to the bottom of the Extension List and keep all the enable on top

Christmas present for you ...

Download and install using Extensions - Installer.
After that Refresh Modifications.

Merry Christmas and a happy new year to you all.

Image

Jump to post
  • Sun Dec 25, 2022 5:49 pm
  • Replies 4
  • Views 428
Re: Database query help

Set product.status to 0 and it will be hidden no matter wich category it's in.

Code: Select all

UPDATE oc_product op SET status = 0 WHERE op.product_id IN(SELECT product_id FROM `oc_product_to_category` optc WHERE optc.category_id = 224 AND optc.product_id = op.product_id);
set status to 0 when in category 224

Jump to post
  • Thu Dec 22, 2022 2:59 pm
  • Replies 6
  • Views 556
Re: show weight total on order in admin

Did you add ?

pprmkr wrote:
Mon Oct 31, 2022 8:39 pm
First add some code to admin/controller/sale/order.php.
In function shipping() search:

Code: Select all

foreach ($products as $product) {
Add before:

Code: Select all

$total_weight = 0;

Jump to post
  • Thu Nov 10, 2022 4:24 pm
  • Replies 6
  • Views 1053
Re: show weight total on order in admin

how can i show the total weight on an order in admin (or on the shipping list) thanks in advance First add some code to admin/controller/sale/order.php. In function shipping() search: foreach ($products as $product) { Add before: $total_weight = 0; Then after product array: $product_data[] = array(...

Jump to post
  • Mon Oct 31, 2022 8:39 pm
  • Replies 6
  • Views 1053
Re: belastingen (tex rates) worden niet goed getoond.

259.00 inclusief BTW is 100% + BTW tarief, in jouw voorbeeld 19%, maakt dus 119%.
259 : 119 x 100 = 217,6471 ( afgerond op 4 decimalen )
Vul dit in bij product - prijs en controleer nog eens voor de diverse regio's.

Jump to post
  • Sun Oct 23, 2022 2:33 pm
  • Replies 1
  • Views 3078
Re: frustrating using OCMOD search on multi line code OC3038

If a search is not unique, use the search 'index' attribute: <operation> <search index="1"><![CDATA[<div class="btn-group">]]></search> <add position="replace" offset="3"><![CDATA[<!-- lines removed -->]]></add> </operation> If for example there are 3 '<div cl...

Jump to post
  • Wed Oct 05, 2022 7:15 pm
  • Replies 9
  • Views 4520
Re: frustrating using OCMOD search on multi line code OC3038

Try offset: <file path="catalog/view/theme/default/template/product/product.twig"> <operation> <search><![CDATA[<div class="btn-group">]]></search> <add position="replace" offset="3"><![CDATA[<!-- lines removed -->]]></add> </operation> </file> Find the search...

Jump to post
  • Wed Oct 05, 2022 5:24 pm
  • Replies 9
  • Views 4520
Re: Cant find code to update an order....

Version 3.0.3.8 ?

Order history with catalog/controller/api/order.php, function history().
Login see admin/controller/sale/order.php, function getForm() starting on line 709: // API login

Jump to post
  • Sun Sep 25, 2022 7:23 pm
  • Replies 4
  • Views 769
Re: Sort products by model in backend customer order and print shipping list (2.3.0.2)

Two functions in admin/model/sale/order.php get the ordered products: - getOrderProducts($order_id) - getOrderOptions($order_id, $order_product_id) You could add SORT BY to the queries: public function getOrderProducts($order_id) { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . &...

Jump to post
  • Fri Sep 02, 2022 4:01 pm
  • Replies 4
  • Views 2629

Search found 1699 matches