Search found 285 matches

Search found 285 matches

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 462
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 462
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 462
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 177
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 177
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 221
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 423
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 423
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 3283
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 564
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 330
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 330
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 330
Re: Checkout steps 4 and 5 joined

Thank You Johnathan, it is good idea for hide only step where no selection is needed, I wass hide myself one of this step and now works great. However Im still trying to remove step 3 delivery details and wonder does it posible to remove step 3 only on checkout registration but not for returning cus...

Jump to post
  • Thu Jun 21, 2018 6:52 am
  • Replies 2
  • Views 440
Checkout steps 4 and 5 joined

Hi, how hard is join checkout steps 4 and 5 in one panel? I mean remove continue button from step 4 and join this 2 step together. for version 2.x or 3.x wothever
Is there some module for this purpose allready
Thanks

Jump to post
  • Tue Jun 19, 2018 11:28 pm
  • Replies 2
  • Views 440
Re: Remove shipping from invoice only

pardon, your code is for removing " Shipping Method: Flat Shipping Rate "
but I need Shipping rate with amounth in table before total (check on image please)

Jump to post
  • Mon Jun 11, 2018 9:05 pm
  • Replies 5
  • Views 301

Search found 285 matches