Jump to content

Search the Community

Showing results for tags 'opencart'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 8 results

  1. Hello, I've just started to use 2.1.0.2 and I'm trying to convert over some of my own extensions I built for my 1.5.6.4 store. I have started with a fresh install of 2.1.0.2 and I built a very basic extension, I'm wanting to move over to the extension installer to install my future additions to my store instead of using vqmod. I have made my testerextension.ocmod.zip, inside this is: install.xml /upload/ /admin/ /catalog/ However when I use the installer to upload testerextension.ocmod.zip I'm getting the following error: Directory containing files to be uploaded could not be found I have tracked this down to the ftp() class as I can see this error can be trigged in another class. I've also looked into the storage temp folder to find a folder unzipped called: testerextension.ocmod NOT upload. To rule out if there was an issue with OC system I have uploaded another extension from the extension store with the similar directory structure and similar ocmod.zip name only for it to correctly install. Therefore i'm unsure as to why this would be happening, I understand the system is looking for the upload folder in the temp folder but it's not there as it's one level deeper in the testerextension.ocmod - but as you can see from the directory structure above this shouldn't be happening. Does anyone have any idea where I could be going wrong?
  2. I am a freelance programmer from India having more than 14 years experience in web development and 8 years experience in PHP/MySQL. I am very interested in long term business relationship with web designers or internet marketeers. Please check out my portfolio at http://www.harshadnair.com/portfolio/ My hourly rates are very competitive and among the lowest you can get! If interested, mail me at harshad.nair@gmail.com or add me to Skype: harshad.nair You will always find the projects delivered by me to be of the best quality and well within time. Some samples of my work: http://www.pcmedicstores.com/pcm http://www.crazy4sportz.com http://www.royalparkwine.com http://www.angloamericandarts.com http://www.harshadnair.com/web http://www.visaworks.com http://www.h1bplanet.com http://www.financialcompound.com http://www.vliegennaar.net http://www.simlockvrijetelefoon.nl http://www.traveltravel.nl http://www.alexpadillabailbonds.com http://www.allayechan.com http://www.hotelaanbiedingen.com http://www.healthwavehgh.com http://www.andersonschoech.com/ http://www.forinjuryadvice.com/ http://dblawpractice.com http://barbaragreer.com/ http://www.weinbergerlaw.net http://www.visa4you.info http://www.gotlegalproblems.com Thanks and regards, HN
  3. Hello, First time asking technical question in a forum so I beg pardon for errors. I have a third party blog module installed on opencart. The original coder helped me to fix some bugs, but he is not answering anymore to emails. I would like to add a simple pagination to the "latest articles" part, because at the moment the website display the exact number declared in "article limit" and does not show pagination if articles shown are less than the total. the code from "article_by_type.php" line 85 is the following: /*recent_article*/ if ($setting['article_type']=='recent_article') { $data = array( 'sort' => 'p.date_added', 'order' => 'DESC', 'start' => 0, 'limit' => $article_limit ); $articles = $this->model_news_article->getArticles($data); } another file "article_list.php" at line 88 and 214 already have pagination: $this->data['article_ajax_load'] = $this->getArticle($article_category_id,$page,$limit,$description_limit); $pagination = new Pagination(); $pagination->total = $article_total; $pagination->num_links = 3; $pagination->page = $page; $pagination->limit = $limit; $pagination->text = $this->language->get('text_pagination'); $pagination->url = 'index.php?route=module/article_list/getlist&cpath='.$article_category_id. '&page={page}'.'&limit=' .$limit; $this->data['pagination'] = $pagination->render(); can anyone help add pagination to "article_by_type.php" or adapt the existing pagination code to it ? article_by_type.php article_list.php
  4. Good evening, I've got a client who wants to add another 'shop' page to their website. Their website is already using OpenCart and they are happy to use the same Cart for both sets of products. so I just need another page with a different set of products - but integrated into OpenCart. If you would like to discuss further about price etc, please contact me here or on Skype: thomas_c0de Regards, Tom
  5. Contact me via Email at mb@cgidx.com or via PM. I am looking for a talented, experienced developer to deliver a custom Opencart extension. This is paid contract work. My time is valuable and so is yours. I expect you will require a down payment - no problem. We will use Paypal or discuss other options. 1. I need a drag-and-drop interface, Comprised of a PREVIEW (working) area, and a PALLET area, for adding decoration items to exact locations on a base product. a. D&D Interface will grey out items & notify before & during checkout (just for out-of-stock items). Config can still be purchased. b. Decoration item images will have opacity masks (no backgrounds) c. Decor items must be placed within specified boundaries d. Decor items cannot be placed over each other or too close (exception for certain item types) e. Prices are automatically updated in real-time and Opencart volume discounts are auto applied 2. There must also be the ability to share & edit configurations created in the drag-and-drop interface via URL without signup. 3. There must be an Opencart report for actual physical assembly of product that displays the configuration preview and parts list of the purchased configuration. There is more specific behavior that will need decisions but these are the 3 main modules. I am a graphic designer and will assist in any way possible. I will be responsible for producing the images for these products. However we handle image opacity masks is up to you. I sincerely appreciate your time and consideration. Please respond with any questions for clarification and let me know what we can do. Ready to move on this ASAP! D&D Interface Image mock-up attached:
  6. Hi there, I'm trying to add a "Checkout with PayPal" (PayPal Express) button into my cart script. I have two carts. A main cart page and a mini-cart which is accessed via a drop-down from the top of any page (site: http://www.sconchtextiles.co.uk) The code for the mini-cart is: <div id="cart"> <div class="heading"> <!--<h5><?php echo $heading_title; ?></h5>--> <a><span id="cart-total"><?php echo $text_items; ?></span></a></div> <div class="content"> <?php if ($products || $vouchers) { ?> <div class="mini-cart-info"> <table> <?php foreach ($products as $product) { ?> <tr> <td class="image"><?php if ($product['thumb']) { ?> <a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" /></a> <?php } ?></td> <td class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a> <div> <?php foreach ($product['option'] as $option) { ?> - <small><?php echo $option['name']; ?> <?php echo $option['value']; ?></small><br /> <?php } ?> </div></td> <td class="quantity">x <?php echo $product['quantity']; ?></td> <td class="total"><?php echo $product['total']; ?></td> <td class="remove"><img src="catalog/view/theme/sellya/image/remove-small.png" alt="<?php echo $button_remove; ?>" title="<?php echo $button_remove; ?>" onclick="(getURLVar('route') == 'checkout/cart' || getURLVar('route') == 'checkout/checkout') ? location = 'index.php?route=checkout/cart&remove=<?php echo $product['key']; ?>' : $('#cart').load('index.php?route=module/cart&remove=<?php echo $product['key']; ?>' + ' #cart > *');" /></td> </tr> <?php } ?> <?php foreach ($vouchers as $voucher) { ?> <tr> <td class="image"></td> <td class="name"><?php echo $voucher['description']; ?></td> <td class="quantity">x 1</td> <td class="total"><?php echo $voucher['amount']; ?></td> <td class="remove"><img src="catalog/view/theme/sellya/image/remove-small.png" alt="<?php echo $button_remove; ?>" title="<?php echo $button_remove; ?>" onclick="(getURLVar('route') == 'checkout/cart' || getURLVar('route') == 'checkout/checkout') ? location = 'index.php?route=checkout/cart&remove=<?php echo $voucher['key']; ?>' : $('#cart').load('index.php?route=module/cart&remove=<?php echo $voucher['key']; ?>' + ' #cart > *');" /></td> </tr> <?php } ?> </table> </div> <div class="mini-cart-total"> <table> <?php foreach ($totals as $total) { ?> <tr> <td align="right"><b><?php echo $total['title']; ?>:</b></td> <td align="right"><?php echo $total['text']; ?></td> </tr> <?php } ?> </table> </div> <div class="checkout"><a href="<?php echo $cart; ?>" class="button"><?php echo $text_cart; ?></a> <a href="<?php echo $checkout; ?>" class="button"><?php echo $text_checkout; ?></a></div> <?php } else { ?> <div class="empty"><?php echo $text_empty; ?></div> <?php } ?> </div> </div> How do I insert the code for the PayPal Express button into this? I have tried a couple of times and it ends in a weird place on the page. The code for the PayPal Express button is: <a href="index.php?route=payment/pp_express/set_payment"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_xpressCheckout.gif" align="left" style="padding-right: 7px; vertical-align: baseline;"/></a>-OR- The main checkout page code is: <?php echo $header; ?> <?php if ($attention) { ?> <div class="attention" style="margin-left:20px;"><?php echo $attention; ?><img src="catalog/view/theme/sellya/image/close.png" alt="" class="close" /></div> <?php } ?> <?php if ($success) { ?> <div class="success" style="margin-left:20px;"><?php echo $success; ?><img src="catalog/view/theme/sellya/image/close.png" alt="" class="close" /></div> <?php } ?> <?php if ($error_warning) { ?> <div class="warning" style="margin-left:20px;"><?php echo $error_warning; ?><img src="catalog/view/theme/sellya/image/close.png" alt="" class="close" /></div> <?php } ?> <?php echo $column_left; ?><?php echo $column_right; ?> <div id="content" class="span12"><div class="row-fluid"><?php echo $content_top; ?> <div class="breadcrumb"> <?php foreach ($breadcrumbs as $breadcrumb) { ?> <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a> <?php } ?> </div> <h1><?php echo $heading_title; ?> <?php if ($weight) { ?> (<?php echo $weight; ?>) <?php } ?> </h1> <div class="clearfix"> <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data"> <div class="cart-info"> <table> <thead> <tr> <td class="image"><?php echo $column_image; ?></td> <td class="name"><?php echo $column_name; ?></td> <td class="model"><?php echo $column_model; ?></td> <td class="quantity"><?php echo $column_quantity; ?></td> <td class="price"><?php echo $column_price; ?></td> <td class="total"><?php echo $column_total; ?></td> </tr> </thead> <tbody> <?php foreach ($products as $product) { ?> <tr> <td class="image"><?php if ($product['thumb']) { ?> <a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" /></a> <?php } ?></td> <td class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a> <?php if (!$product['stock']) { ?> <span class="stock">***</span> <?php } ?> <div> <?php foreach ($product['option'] as $option) { ?> - <small><?php echo $option['name']; ?>: <?php echo $option['value']; ?></small><br /> <?php } ?> </div> <?php if ($product['reward']) { ?> <small><?php echo $product['reward']; ?></small> <?php } ?></td> <td class="model"><?php echo $product['model']; ?></td> <td class="quantity"><input style="width:30px;" type="text" name="quantity[<?php echo $product['key']; ?>]" value="<?php echo $product['quantity']; ?>" size="1" /> <input type="image" src="catalog/view/theme/sellya/image/update.png" alt="<?php echo $button_update; ?>" title="<?php echo $button_update; ?>" /> <a href="<?php echo $product['remove']; ?>"><img src="catalog/view/theme/sellya/image/remove.png" alt="<?php echo $button_remove; ?>" title="<?php echo $button_remove; ?>" /></a></td> <td class="price"><?php echo $product['price']; ?></td> <td class="total"><?php echo $product['total']; ?></td> </tr> <?php } ?> <?php foreach ($vouchers as $vouchers) { ?> <tr> <td class="image"></td> <td class="name"><?php echo $vouchers['description']; ?></td> <td class="model"></td> <td class="quantity"><input type="text" name="" value="1" size="1" disabled="disabled" /> <a href="<?php echo $vouchers['remove']; ?>"><img src="catalog/view/theme/sellya/image/remove.png" alt="<?php echo $text_remove; ?>" title="<?php echo $button_remove; ?>" /></a></td> <td class="price"><?php echo $vouchers['amount']; ?></td> <td class="total"><?php echo $vouchers['amount']; ?></td> </tr> <?php } ?> </tbody> </table> </div> </form> </div> <?php if ($coupon_status || $voucher_status || $reward_status || $shipping_status) { ?> <h2><?php echo $text_next; ?></h2> <div class="content"> <p><?php echo $text_next_choice; ?></p> <table class="radio"> <?php if ($coupon_status) { ?> <tr class="highlight"> <td><?php if ($next == 'coupon') { ?> <input type="radio" name="next" value="coupon" id="use_coupon" checked="checked" /> <?php } else { ?> <input type="radio" name="next" value="coupon" id="use_coupon" /> <?php } ?></td> <td><label for="use_coupon"><?php echo $text_use_coupon; ?></label></td> </tr> <?php } ?> <?php if ($voucher_status) { ?> <tr class="highlight"> <td><?php if ($next == 'voucher') { ?> <input type="radio" name="next" value="voucher" id="use_voucher" checked="checked" /> <?php } else { ?> <input type="radio" name="next" value="voucher" id="use_voucher" /> <?php } ?></td> <td><label for="use_voucher"><?php echo $text_use_voucher; ?></label></td> </tr> <?php } ?> <?php if ($reward_status) { ?> <tr class="highlight"> <td><?php if ($next == 'reward') { ?> <input type="radio" name="next" value="reward" id="use_reward" checked="checked" /> <?php } else { ?> <input type="radio" name="next" value="reward" id="use_reward" /> <?php } ?></td> <td><label for="use_reward"><?php echo $text_use_reward; ?></label></td> </tr> <?php } ?> <?php if ($shipping_status) { ?> <tr class="highlight"> <td><?php if ($next == 'shipping') { ?> <input type="radio" name="next" value="shipping" id="shipping_estimate" checked="checked" /> <?php } else { ?> <input type="radio" name="next" value="shipping" id="shipping_estimate" /> <?php } ?></td> <td><label for="shipping_estimate"><?php echo $text_shipping_estimate; ?></label></td> </tr> <?php } ?> </table> </div> <div class="cart-module"> <div id="coupon" class="content" style="display: <?php echo ($next == 'coupon' ? 'block' : 'none'); ?>;"> <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data"> <?php echo $entry_coupon; ?> <input type="text" name="coupon" value="<?php echo $coupon; ?>" /> <input type="hidden" name="next" value="coupon" /> <input type="submit" value="<?php echo $button_coupon; ?>" class="button" /> </form> </div> <div id="voucher" class="content" style="display: <?php echo ($next == 'voucher' ? 'block' : 'none'); ?>;"> <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data"> <?php echo $entry_voucher; ?> <input type="text" name="voucher" value="<?php echo $voucher; ?>" /> <input type="hidden" name="next" value="voucher" /> <input type="submit" value="<?php echo $button_voucher; ?>" class="button" /> </form> </div> <div id="reward" class="content" style="display: <?php echo ($next == 'reward' ? 'block' : 'none'); ?>;"> <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data"> <?php echo $entry_reward; ?> <input type="text" name="reward" value="<?php echo $reward; ?>" /> <input type="hidden" name="next" value="reward" /> <input type="submit" value="<?php echo $button_reward; ?>" class="button" /> </form> </div> <div id="shipping" class="content" style="display: <?php echo ($next == 'shipping' ? 'block' : 'none'); ?>;"> <p><?php echo $text_shipping_detail; ?></p> <table> <tr> <td><span class="required">*</span> <?php echo $entry_country; ?></td> <td><select name="country_id"> <option value=""><?php echo $text_select; ?></option> <?php foreach ($countries as $country) { ?> <?php if ($country['country_id'] == $country_id) { ?> <option value="<?php echo $country['country_id']; ?>" selected="selected"><?php echo $country['name']; ?></option> <?php } else { ?> <option value="<?php echo $country['country_id']; ?>"><?php echo $country['name']; ?></option> <?php } ?> <?php } ?> </select></td> </tr> <tr> <td><span class="required">*</span> <?php echo $entry_zone; ?></td> <td><select name="zone_id"> </select></td> </tr> <tr> <td><span id="postcode-required" class="required">*</span> <?php echo $entry_postcode; ?></td> <td><input type="text" name="postcode" value="<?php echo $postcode; ?>" /></td> </tr> </table> <input type="button" value="<?php echo $button_quote; ?>" id="button-quote" class="button" /> </div> </div> <?php } ?> <div class="cart-total"> <table id="total"> <?php foreach ($totals as $total) { ?> <tr> <td colspan="5" class="right"><b><?php echo $total['title']; ?>:</b></td> <td class="right"><?php echo $total['text']; ?></td> </tr> <?php } ?> </table> </div> <div class="buttons"> <div class="right"><a href="<?php echo $checkout; ?>" class="button-exclusive"><?php echo $button_checkout; ?></a></div> <div class="left"><a href="<?php echo $continue; ?>" class="button"><?php echo $button_shopping; ?></a></div> </div> <?php echo $content_bottom; ?></div></div> <script type="text/javascript"><!-- $('input[name=\'next\']').bind('change', function() { $('.cart-module > div').hide(); $('#' + this.value).show(); }); //--></script> <?php if ($shipping_status) { ?> <script type="text/javascript"><!-- $('#button-quote').live('click', function() { $.ajax({ url: 'index.php?route=checkout/cart/quote', type: 'post', data: 'country_id=' + $('select[name=\'country_id\']').val() + '&zone_id=' + $('select[name=\'zone_id\']').val() + '&postcode=' + encodeURIComponent($('input[name=\'postcode\']').val()), dataType: 'json', beforeSend: function() { $('#button-quote').attr('disabled', true); $('#button-quote').after('<span class="wait"> <img src="catalog/view/theme/default/image/loading.gif" alt="" /></span>'); }, complete: function() { $('#button-quote').attr('disabled', false); $('.wait').remove(); }, success: function(json) { $('.success, .warning, .attention, .error').remove(); if (json['error']) { if (json['error']['warning']) { $('#notification').html('<div class="warning" style="display: none;">' + json['error']['warning'] + '<img src="catalog/view/theme/default/image/close.png" alt="" class="close" /></div>'); $('.warning').fadeIn('slow'); $('html, body').animate({ scrollTop: 0 }, 'slow'); } if (json['error']['country']) { $('select[name=\'country_id\']').after('<span class="error">' + json['error']['country'] + '</span>'); } if (json['error']['zone']) { $('select[name=\'zone_id\']').after('<span class="error">' + json['error']['zone'] + '</span>'); } if (json['error']['postcode']) { $('input[name=\'postcode\']').after('<span class="error">' + json['error']['postcode'] + '</span>'); } } if (json['shipping_method']) { html = '<h2><?php echo $text_shipping_method; ?></h2>'; html += '<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">'; html += ' <table class="radio">'; for (i in json['shipping_method']) { html += '<tr>'; html += ' <td colspan="3"><b>' + json['shipping_method'][i]['title'] + '</b></td>'; html += '</tr>'; if (!json['shipping_method'][i]['error']) { for (j in json['shipping_method'][i]['quote']) { html += '<tr class="highlight">'; if (json['shipping_method'][i]['quote'][j]['code'] == '<?php echo $shipping_method; ?>') { html += '<td><input type="radio" name="shipping_method" value="' + json['shipping_method'][i]['quote'][j]['code'] + '" id="' + json['shipping_method'][i]['quote'][j]['code'] + '" checked="checked" /></td>'; } else { html += '<td><input type="radio" name="shipping_method" value="' + json['shipping_method'][i]['quote'][j]['code'] + '" id="' + json['shipping_method'][i]['quote'][j]['code'] + '" /></td>'; } html += ' <td><label for="' + json['shipping_method'][i]['quote'][j]['code'] + '">' + json['shipping_method'][i]['quote'][j]['title'] + '</label></td>'; html += ' <td style="text-align: right;"><label for="' + json['shipping_method'][i]['quote'][j]['code'] + '">' + json['shipping_method'][i]['quote'][j]['text'] + '</label></td>'; html += '</tr>'; } } else { html += '<tr>'; html += ' <td colspan="3"><div class="error">' + json['shipping_method'][i]['error'] + '</div></td>'; html += '</tr>'; } } html += ' </table>'; html += ' <br />'; html += ' <input type="hidden" name="next" value="shipping" />'; <?php if ($shipping_method) { ?> html += ' <input type="submit" value="<?php echo $button_shipping; ?>" id="button-shipping" class="button" />'; <?php } else { ?> html += ' <input type="submit" value="<?php echo $button_shipping; ?>" id="button-shipping" class="button" disabled="disabled" />'; <?php } ?> html += '</form>'; $.colorbox({ overlayClose: true, opacity: 0.5, width: '600px', height: '400px', href: false, html: html }); $('input[name=\'shipping_method\']').bind('change', function() { $('#button-shipping').attr('disabled', false); }); } } }); }); //--></script> <script type="text/javascript"><!-- $('select[name=\'country_id\']').bind('change', function() { $.ajax({ url: 'index.php?route=checkout/cart/country&country_id=' + this.value, dataType: 'json', beforeSend: function() { $('select[name=\'country_id\']').after('<span class="wait"> <img src="catalog/view/theme/sellya/image/loading.gif" alt="" /></span>'); }, complete: function() { $('.wait').remove(); }, success: function(json) { if (json['postcode_required'] == '1') { $('#postcode-required').show(); } else { $('#postcode-required').hide(); } html = '<option value=""><?php echo $text_select; ?></option>'; if (json['zone'] != '') { for (i = 0; i < json['zone'].length; i++) { html += '<option value="' + json['zone'][i]['zone_id'] + '"'; if (json['zone'][i]['zone_id'] == '<?php echo $zone_id; ?>') { html += ' selected="selected"'; } html += '>' + json['zone'][i]['name'] + '</option>'; } } else { html += '<option value="0" selected="selected"><?php echo $text_none; ?></option>'; } $('select[name=\'zone_id\']').html(html); }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); }); $('select[name=\'country_id\']').trigger('change'); //--></script> <?php } ?> <?php echo $footer; ?> The whole site is responsive using Bootstrap and am feeling a little out of my depth! Please help...
  7. I want to start a project where members can buy and sell videogames and have some experience in OOP programing in MVC with actionscript and PHP. I'm looking for the best way to setup this platform with the benefits of all there is today on the frameworks. I want to speedup the process to make use of frameworks with functions which I use. I think I need a simple webshop framework like Opencart e.g and build the rest on top of it so that members can also sell their own videogames. What framework will do the trick best for me in this situation? I've play a little with Codeigniter but I'm asking myself if this will be good enough for future extensions ore must I go for Zend or Sympony with an ecommerce module or framework? Can you also tell me why it is the best setup for this platform? Thanks for your suggestions! Cheers
  8. I have assigned values for a multidimensional array as following (in opencart): $this->data['price_list'][0]['115']['296']= "8.99"; $this->data['price_list'][1]['115']['396']= "8.99"; $this->data['price_list'][2]['115']['446']= "8.99"; $this->data['price_list'][3]['115']['496']= "8.99"; $this->data['price_list'][4]['115']['596']= "12.99"; $this->data['price_list'][5]['115']['796']= ""; $this->data['price_list'][6]['115']['996']= ""; $this->data['price_list'][7]['115']['1196']= ""; $this->data['price_list'][8]['140']['296']= "12.99"; $this->data['price_list'][9]['140']['396']= "12.99"; $this->data['price_list'][10]['140']['446']= "12.99"; I have two variables: $height and $width. I want to check in the above array as following: let, $height= 140, $ width= 396. I want the value 12.99. How I'll check this?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.