Find Jobs
Hire Freelancers

Open Cart - very small issue regarding 'if' condition

$10-30 USD

Completed
Posted over 8 years ago

$10-30 USD

Paid on delivery
Looking for someone who can fix this right away. Trying to make a script that will use a secondary product layout if the product id=693 1. I am trying to display a custom product template to a particular product (product id 693) I have created the [login to view URL] file and I am trying to process the following rule on the product controller [login to view URL] This doesnt work; //693 is the id of the product if($this->request->get['product_id'] == 693){ if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/[login to view URL]')) { $this->template = $this->config->get('config_template') . '/template/product/[login to view URL]'; } else { $this->template = 'default/template/product/[login to view URL]'; } } else{ if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/[login to view URL]')) { $this->template = $this->config->get('config_template') . '/template/product/[login to view URL]'; } else { $this->template = 'default/template/product/[login to view URL]'; } } if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/[login to view URL]')) { $this->response->setOutput($this->load->view($this->config->get('config_template') . '/template/product/[login to view URL]', $data)); } else { $this->response->setOutput($this->load->view('default/template/product/[login to view URL]', $data)); }
Project ID: 8869469

About the project

9 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
A proposal has not yet been provided
$20 USD in 1 day
5.0 (1 review)
0.4
0.4
9 freelancers are bidding on average $40 USD for this job
User Avatar
Hi, I am Opencart expert and I can help you to solve the if condition. Please let me know when you online. Harsh
$24 USD in 1 day
4.9 (445 reviews)
7.7
7.7
User Avatar
Hello, I have read through your project and I am incredibly interested in taking on your project. I am an experienced developer with a diploma in the field of web development. I have been working in the field of web development for roughly 7 years. I take great pride in my work and deliver only the best quality. My skill-set includes... -PHP -HTML5 -CSS -AJAX -Responsive Design -Joomla -Wordpress -Magento -Photoshop -Illustrator -Video Editing -Data entry -Iphone -Android I look forward to hearing from you and hopefully we will have the opportunity to work together. Thank you, Meagan S.
$54 USD in 1 day
4.9 (129 reviews)
6.5
6.5
User Avatar
Propunerea nu a fost încă furnizată
$45 USD in 0 day
4.4 (100 reviews)
6.2
6.2
User Avatar
Hello, My name is Josh and I'd like to help you get this done quickly. I have extensive experience with these technologies. Thanks,
$40 USD in 1 day
4.9 (42 reviews)
4.7
4.7
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
London, United Kingdom
5.0
81
Payment method verified
Member since Oct 14, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.