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 139
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 296
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 604
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 485
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.
- Mon Jan 09, 2023 11:17 pm
- Replies 9
- Views 1118
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));
- Thu Jan 05, 2023 4:08 pm
- Replies 9
- Views 1118
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.
- General Support
- How to move disable modules to the bottom of the Extension List and keep all the enable on top
- Sun Dec 25, 2022 5:49 pm
- Replies 4
- Views 305
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);
- Thu Dec 22, 2022 2:59 pm
- Replies 6
- Views 400
Re: show weight total on order in admin
Did you add ?
Jump to postpprmkr wrote: ↑Mon Oct 31, 2022 8:39 pmFirst add some code to admin/controller/sale/order.php.
In function shipping() search:Add before:Code: Select all
foreach ($products as $product) {
Code: Select all
$total_weight = 0;
- Thu Nov 10, 2022 4:24 pm
- Replies 6
- Views 840
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 840
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.
- Sun Oct 23, 2022 2:33 pm
- Replies 1
- Views 1879
Re: query for updating price of all products through SQL
Code: Select all
UPDATE `oc_product` SET price = (price * 1.1)
- Wed Oct 12, 2022 4:27 pm
- Replies 3
- Views 954
Re: frustrating using OCMOD search on multi line code OC3038
Mea Culpa.
See: https://github.com/opencart/opencart/wi ... ion-System
- Thu Oct 06, 2022 1:48 pm
- Replies 8
- Views 1147
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 8
- Views 1147
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 8
- Views 1147
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
- Sun Sep 25, 2022 7:23 pm
- Replies 4
- Views 632
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- Extensions Support
- Sort products by model in backend customer order and print shipping list (2.3.0.2)
- Fri Sep 02, 2022 4:01 pm
- Replies 4
- Views 1137
Re: How to record value for extra column in oc_order_product ?
Now added modifications to extension/report/product_purchased ...
Jump to post- Fri Jul 08, 2022 7:30 pm
- Replies 7
- Views 267
Re: How to record value for extra column in oc_order_product ?
Checked, removed some lines and updated.
Jump to post- Fri Jul 01, 2022 1:51 pm
- Replies 7
- Views 267
Re: How to record value for extra column in oc_order_product ?
MPN is available in product, but is not used/stored in order. First make sure 'mpn' is stored in order_product table: <file path="catalog/model/checkout/order.php"> <operation> <search><![CDATA[, model = '" . $this->db->escape($product['model']) . "']]></search> <add position=&qu...
Jump to post- Thu Jun 30, 2022 4:33 pm
- Replies 7
- Views 267