Re: How to identify if is Home Page?
I found a solution using this:
Code: Select all
if(!isset($this->request->get['route']) || $this->request->get['route'] == 'common/home') { }
- Tue Nov 06, 2012 3:02 am
- Replies 1
- Views 1594
How to identify if is Home Page?
I need to identify with a condition if the page where I'm is the Home.
I want to use a function that needs to affect just the Home page.
How can I do this on OC 1.5.3.1?
Ty!
- Tue Nov 06, 2012 2:27 am
- Replies 1
- Views 1594
Re: Delete button in image manager
Hi Eugene. I noticed that too..
So, I'm looking for a soluction based on javascript for this "problem". Many friends that use Opencart calls me to report that they accidentally deleted some folder full of images.
- Fri Oct 26, 2012 8:52 pm
- Replies 3
- Views 1456
Search function is not ok
Opencart 1.5.1.3 I don't know what's happen but the search is not ok. When i'm looking for an product with 2 words (2 tags), the system returns me a lot of products and page of product that has nothing about what I want. When I put just one word to search, then returns the right products. But I ima...
Jump to post- Wed Jul 18, 2012 8:18 pm
- Replies 3
- Views 926
Re: [1.5.x]Set grid view as default
How can i do grid as default view in 1.5.3.1? Nothing works
- Thu Feb 16, 2012 6:57 am
- Replies 80
- Views 116795
Re: When customer hits Add to Cart button, want to redirect
iksitebuilder, Where exactly do we have change in product.tpl?
Jump to post- Wed Feb 15, 2012 7:55 am
- Replies 30
- Views 33167
What's the method for get the product category?
Sorry if this post was duplicate.. but the search field isn't work! Please, could you tell me how can i get the product category? I need to use the category from product on "catalog/controller/checkout/confirm.php" But this method: $this->data['category'] = $this->config->model_catalog_pro...
Jump to post- Sun Feb 12, 2012 11:42 pm
- Replies 2
- Views 481
Re: How to import 1.4 products to 1.5?
OK, i'll try this. Thanks!
Jump to post- Tue Oct 18, 2011 6:14 pm
- Replies 2
- Views 697
How to import 1.4 products to 1.5?
There are a way to edit product table from 1.4 to suport OC 1.5? Just the products that i need...
Jump to post- Tue Oct 18, 2011 2:54 am
- Replies 2
- Views 697
Re: How can i get category_id in...
You can use the product model to get all categories of a product CODE: SELECT ALL $this->load->model('catalog/product'); $categories = $this->model_catalog_product->getCategories(YOURPRODUCTID); BUT: What are you going to do with products that are in more than one category? Awnser from ckonig Thank...
Jump to post- Wed Oct 12, 2011 1:30 am
- Replies 1
- Views 526
How can i get category_id in...
How can i get the category_id from product in catalog/product/product.php?
I tried many ways like this:
Code: Select all
$this->model_catalog_category->getProductsByCategoryId($this->request->get['product_id']);

- Tue Oct 11, 2011 11:14 pm
- Replies 1
- Views 526
Re: Getting variables from admin controller
Nice, i get it with this line on catalog/controller/product.php $this->data['parcela'] = $this->config->get('desconto_parcelas'); I didn't know that the values are save automatic for the DB. Day a day i'm loving more and more this online store system. Thanks Daniel and all of the group of project!
Jump to post- Tue Oct 11, 2011 9:49 pm
- Replies 1
- Views 638
Getting variables from admin controller
Hey, hi! I have a doubt.. i need to get variables from controller arquives. How are the value transfering of the controller arquives for catalog? i created this: if (isset($this->request->post['desconto_valor'])) { $this->data['desconto_valor'] = $this->request->post['desconto_valor']; } else { $thi...
Jump to post- Tue Oct 11, 2011 2:41 am
- Replies 1
- Views 638
Re: Zopim Live Chat Module
Does this module works on 1.4.9 version?
Jump to post- Wed Oct 05, 2011 3:07 am
- Replies 17
- Views 9593
Re: I can't find a variable
It Worked!
I used Session...
cart.php:
session_start()
$_SESSION['value'] = $result['price'];
shippingcart.php
session_start()
$value = $_SESSION['price'];
So.. Thanks Guys
- Sat Aug 27, 2011 8:06 am
- Replies 5
- Views 1216
Re: I can't find a variable
Cool, i will try and back to talk about. Thanks!
Jump to post- Fri Aug 19, 2011 3:52 am
- Replies 5
- Views 1216
Re: I can't find a variable
Right, but how can i use this in other file?
Exemple, in "confirm.php" i found it here:
$total_data = array();
$total = 0;
$taxes = $this->cart->getTaxes();
But when i will use this in other file, it doens't work with the way that i sayd
- Fri Aug 19, 2011 3:19 am
- Replies 5
- Views 1216
I can't find a variable
i need to use the variable "taxes" from de page "confirm.tlp/php" but i can't find it... i tried to use this->data['taxes'], $taxes, $this->cart['taxes'] and more and nothing...
Someone help me please..
- Fri Aug 19, 2011 2:57 am
- Replies 5
- Views 1216
There are a way to send products by contact?
I Want to send products by contact from opencart system/administration, is it possible? i saw the function to send products for people who commissed... can i do this?
Sorry for my bad english..
- Fri Aug 12, 2011 10:32 pm
- Replies 0
- Views 345
Re: Image doens't work in e-mail marketing
I openned in other form with webmail and the problem still exist, but, on webmail show the html form, not in annex...
Jump to post- Mon Aug 08, 2011 9:24 pm
- Replies 3
- Views 820