Hello, my OP is 2.1
I want to know how have 2 variable in same code :
like upc + price>75
<?php if ($upc) { ?> + <?php if ($price>75) { ?>
Thanks for your help
Michel
You really should start with reading/watching some PHP tutorials and don't ask basic coding questions on OpenCart forums.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Posted OC version incomplete. StackOverFlow request.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Code: Select all
<?php
if(isset($upc) && $price > 75) {
?>
I'd recommend https://www.w3schools.com/php/
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: No registered users and 218 guests