Search found 36 matches

Search found 36 matches

Re: how can load $text_items varialble in footer.tpl?

The only thing I can think of is that perhaps your language file hasn't been loaded at the point where you placed your declaration. Make sure you place your declaration: $this->data['text_variable'] = $this->language->get('your_text_variable'); After: $this->language->load('product/product'); Other ...

Jump to post
  • Fri Feb 20, 2015 4:17 am
  • Replies 9
  • Views 6558
Re: OpenCart 1.6.0 Roadmap

I'm sure I'm not alone in needing an option to set the search tool to search "product description" as standard rather than having to go into advanced search to get to this point. This may not suit everyone, which is why I've suggested having as an option. I think it should be standard. Search is se...

Jump to post
  • Wed Jul 16, 2014 10:52 pm
  • Replies 538
  • Views 238201
Re: Sample Data

Perfect, thanks Ernie, I've purchased a few mods from iSense, very good quality and I see that you're using it with good results.

Thanks so much for your time and response.

-V

Jump to post
  • Wed Jul 02, 2014 10:30 pm
  • Replies 2
  • Views 452
Sample Data

Does anyone know of any sample product data that can be had. I have a client that needs a demo but I don't want to use the stogy old install product data. I'd like to be able to install some fresh products and images. It doesn't need to be automated or anything, I'm happy to add all the products by ...

Jump to post
  • Wed Jul 02, 2014 10:04 pm
  • Replies 2
  • Views 452
Re: OpenCart 1.6.0 Roadmap

I don't imagine anyone (Daniel) will see this, but maybe someone else can answer these questions. I've been looking through the 2.0 code (I'm keeping my own repo of it live on a server) and clearly there are MAJOR changes in the way the classes have been restructured. Controllers and views are now l...

Jump to post
  • Fri Dec 20, 2013 5:33 am
  • Replies 538
  • Views 238201
Url Rewriting

Hey All, I'm working on a new site that contains about 12500 products, 550 categories, 260 manufacturers which gives me a grand total of around 13000 give or take url aliases. This is KILLING my site and I'm on a dedicated cloud server. I've tried everything I can think of, caching aliases in both f...

Jump to post
  • Wed Jul 17, 2013 7:25 pm
  • Replies 4
  • Views 3943
Re: Autocomplete fields not working in Admin

You should set this to:

Code: Select all

$this->response->setOutput(json_encode($json));

Jump to post
  • Fri Dec 21, 2012 5:48 am
  • Replies 16
  • Views 12688
Re: A few noob questions about templates

That's not really something we can answer for you. That would depend on your skill set, if you have a good working knowledge of html, css and javascript you can certainly create your own theme. There are hundreds of themes available all across the internet. Being that Open Cart is Open Source, it's ...

Jump to post
  • Mon Dec 03, 2012 5:30 am
  • Replies 3
  • Views 1080
Re: how can load $text_items varialble in footer.tpl?

Ah, I see. You can get this information directly from the cart class which is available globally. Open: /catalog/language/english/common/footer.php and add the following: $_['text_items'] = '%s item(s) - %s'; (copied from modules/cart.php) Open: /catalog/controller/common/footer.php and add the foll...

Jump to post
  • Tue Nov 20, 2012 2:13 am
  • Replies 9
  • Views 6558
Re: URL Routing for Admin Area

I completely understand the purpose but you're missing the point. The admin section is the most flexible area of the framework, I can put it anywhere, under any url, on a different server, on my local machine ... it's the least vulnerable part of the script. If tokens are such a crucial part of the ...

Jump to post
  • Sat Nov 17, 2012 1:57 am
  • Replies 6
  • Views 1587
Re: URL Routing for Admin Area

You're clearly not understanding the point here. I didn't start this topic to get into a pissing contest about tokens, but since since you want to be a know it all, perhaps you should reread the article you referenced: Disclosure of Token in URL While this control does help mitigate the risk of CSR...

Jump to post
  • Sat Nov 17, 2012 12:52 am
  • Replies 6
  • Views 1587
Re: URL Routing for Admin Area

And the millions of other websites with admin and member's areas that don't pass a token in the url? How do they manage to survive?

This is simply a lazy and ugly way to do it. You could add the token anywhere into any object and get the same result without all the ugliness.

Just sayin ...

Jump to post
  • Fri Nov 16, 2012 6:49 pm
  • Replies 6
  • Views 1587
Re: how can load $text_items varialble in footer.tpl?

Open your footer language file: /catalog/language/english/common/footer.php Add your variable like so: $_['your_text_variable'] = 'Text to appear in your footer'; Then open your footer controller: /catalog/controller/common/footer.php Add your variable to the data array of the controller: $this->dat...

Jump to post
  • Fri Nov 16, 2012 6:44 pm
  • Replies 9
  • Views 6558
Re: A few noob questions about templates

Hey Anna, All the major areas, and by major I mean header, footer, top, bottom, right, left _ columns are set via $this->children = array( 'common/column_left', 'common/column_right', 'common/content_top', 'common/content_bottom', 'common/footer', 'common/header' ); If you look in each of your contr...

Jump to post
  • Fri Nov 16, 2012 6:30 pm
  • Replies 3
  • Views 1080
URL Routing for Admin Area

Hey All! I'm developing a site for a client and he would prefer to have "pretty urls" for the admin area and remove the token string. I'm working to create a separate version of the seo_url controller to use in the admin area but I'd like to pick the brains of any other devs to see what might be the...

Jump to post
  • Fri Nov 16, 2012 6:07 pm
  • Replies 6
  • Views 1587
Re: [Need Help]scripts to the bottom and make website faster

I went through each template and moved all of the inline js to a single scripts.js file, leaving only script variables that could be referenced later. For instance inside slideshow.tpl I moved all the inline and left only this: <script>var slideshow_module=<?php echo $module; ?>;</script> With my se...

Jump to post
  • Fri May 25, 2012 12:14 am
  • Replies 29
  • Views 8768
Re: No Rewards Points Added On Sales

You'd need to create a new Order Totals module for this I believe. There's a rewards module now, but it does something different, it's used for displaying the reward points redeemed at checkout. You can see it at: admin->extensions->order totals There's a mod there called reward points I think ... Y...

Jump to post
  • Mon May 14, 2012 6:12 am
  • Replies 16
  • Views 19340
Re: Design the category menu with css

Guess this no longer exists?

Website has mysql errors, cannot connect.

?

Jump to post
  • Thu May 03, 2012 5:40 am
  • Replies 30
  • Views 11026
Re: WSDL for Delivery Status

Um .. ok. Clearly right in the first line of my post is says shipping delivery, the title of the post is Delivery Status ... and I also mention the FedEX WSDL in the first line. How is it unclear what I'm looking for? Anyway, the FedEX one is almost written now, I finally found the code base in the ...

Jump to post
  • Thu Apr 26, 2012 9:12 pm
  • Replies 5
  • Views 2211

Search found 36 matches