Search found 288 matches

Search found 288 matches

Customer groups

In opencart 2.3.0.2 I use the default customergroup with id = 1 and seller customergroup with id = 2.
How to apply code below only for the default customergroup and not for the seller customergroup?

Code: Select all

 <div class="checkbox" style="display:none;">
Thanks

Jump to post
  • Tue Oct 15, 2019 9:15 pm
  • Replies 2
  • Views 140
Re: Delete twig code with OCMod

Thank You @mona and @OSWorX , solved !

Jump to post
  • Mon Sep 30, 2019 7:19 am
  • Replies 3
  • Views 390
[SOLVED] Delete twig code with OCMod

Hi How to remove red selected rows with ocmod ( <td><address> {{ order.payment_address }} </address></td ) This is admin/view/template/sale/order_invoice.twig OC version 3032 <tbody> <tr> <td><address> {{ order.payment_address }} </address></td> <td><address> {{ order.shipping_address }} </address><...

Jump to post
  • Sat Sep 28, 2019 1:53 am
  • Replies 3
  • Views 390
Re: tpl to twig

Ok understand , please give me example how to define one basic variable in controller, for example

Code: Select all

$number=2* $price ;        
and on which place in controller I can set it for 3032 version - index() funkction is 500 rows long.
Thanks

Jump to post
  • Mon Jun 24, 2019 10:56 pm
  • Replies 8
  • Views 615
Re: tpl to twig

$number and $total is variables defined directly in view tpl file (there is no code in controller at all) Version of OC is 2302 , and Im trying convert code for 3032 <div class="price2" style="font-size:17px;"> </br> <?php $number = preg_replace("/[^0-9\.]/", '', $price); $total= $number*1.2; echo "...

Jump to post
  • Fri Jun 21, 2019 11:22 pm
  • Replies 8
  • Views 615
tpl to twig

How to convert this line from product tpl to product twig file ? <div class="price2" style="font-size:17px;"> </br> <?php $number = preg_replace("/[^0-9\.]/", '', $price); $total= $number*1.2; echo "List price: "."$".number_format($total, 2); ?> </div> <h2><?php echo "Your price ". $price; ?></h2> t...

Jump to post
  • Fri Jun 21, 2019 8:30 pm
  • Replies 8
  • Views 615
Re: Hide weight for zero amounth

@uksitebuilder Thank You very much -it works!

Jump to post
  • Fri Jun 07, 2019 3:39 am
  • Replies 2
  • Views 235
Hide weight for zero amounth

Hi , how to hide weight amounth if cart iz "0 kg" on checkout UK Shipping (Weight: 0.00kg) - $0.00 how to hide "(Weight: 0.00kg)" from this line for weight=0 catalog/model/shipping/weight.php define this line 'title' => $result['name'] . ' (' . $this->language->get('text_weight') . ' ' . $this->weig...

Jump to post
  • Thu Jun 06, 2019 10:49 pm
  • Replies 2
  • Views 235
Dropshipping

Hi , does somebody have experience with dropshipping ?
if there are any suppliers I can pay for products with paypal and products have tracking ?
thanks

Jump to post
  • Tue Mar 12, 2019 4:22 pm
  • Replies 0
  • Views 285
Re: ERR_BLOCKED_BY_XSS_AUDITOR

Problem is same in IE and other browser - when I click on SAVE opencart logout automaticaly and show message "cannot find page" I wass try add funkction and code looks like this: <?php class ControllerStartupStartup extends Controller { public function index() { $this->response->addHeader('X-XSS-Pro...

Jump to post
  • Thu Dec 20, 2018 10:45 am
  • Replies 2
  • Views 461
ERR_BLOCKED_BY_XSS_AUDITOR

Hi, My opencart 2.2.0.0 on click Save button after ediiting product or information logout from admin panel and show error in browser: This page isn’t working Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and cred...

Jump to post
  • Wed Dec 12, 2018 8:46 am
  • Replies 2
  • Views 461
Re: system/storage move

Does it posible rename storage folder on subdomain without move in public_html ? and in that case how to change config files ,
Can somebody explain why this folder must be moved out of subdomain folder - it is not logic, thanks

Jump to post
  • Wed Nov 28, 2018 1:12 pm
  • Replies 4
  • Views 3377
Re: Removing ALL Country options bar X (UN-Solved)

Warning: This country cannot be deleted as it is currently assigned to 10 zones!
what does this mean, I cannot delete countries

Jump to post
  • Sat Jul 21, 2018 11:20 pm
  • Replies 5
  • Views 585
Re: Default value for weight different than 0

I was set default value in database to 0.01 but it still show 0.00000 in admin data weight field, and if I save product without enter value it register 0.00
Maybe something in code must be changed ? image in att

Jump to post
  • Thu Jun 28, 2018 2:35 am
  • Replies 8
  • Views 377
Re: Default value for weight different than 0

On product data page under weight, I need settings 0kg - 0.01 kg free shipping and under 0.01kg some value for shipping
So in case I forgot set 0.01 system set up automatically

Jump to post
  • Wed Jun 27, 2018 3:32 pm
  • Replies 8
  • Views 377
Default value for weight different than 0

Is it posible to set default weight 0.01 instead 0 ? Thanks

Jump to post
  • Wed Jun 27, 2018 2:53 pm
  • Replies 8
  • Views 377

Search found 288 matches