Search found 19679 matches

Search found 19679 matches

Install on Windows config bug?

Suprised this hasn't been mentioned before. Maybe its something I'm missing. Installed OpenCart on my home windows box. Install went smoothly, but when click on the main catalog index, it gave me some garbage errors. Seems that when it wrote the config, it didn't properly escape the backslashes that...

Jump to post
  • Thu Jul 31, 2008 11:23 pm
  • Replies 19
  • Views 9811
Re: First contrib attempt. Trying to understand the structure

I guess my mind set is trying to create something that adds on to the existing product page without modifying the core code. Like some sort of extensible plugin that I can drop my code into a subfolder and it will load on the product page or the admin product page. So I was thinking that if I made s...

Jump to post
  • Thu Jul 31, 2008 9:34 pm
  • Replies 13
  • Views 4489
How can I get the current template name as a variable?

I'm trying to reference the current template name. My initial attempt was: $template =& $this->locator->get('template'); echo $template->get('title'); But there is no get function in library/template.php What is the correct way to get the name. Currently it is "default" but I want it to be dynamic b...

Jump to post
  • Thu Jul 31, 2008 8:20 pm
  • Replies 1
  • Views 1341
Re: First contrib attempt. Trying to understand the structure

If you want to add something specific to the Products page that doesn't appear on any other page, the files you would need to edit are "catalog/controller/product.php", "catalog/language/english/controller/product.php" and "catalog/template/default/content/product.tpl". Regards, Fido-X. But I want ...

Jump to post
  • Thu Jul 31, 2008 7:49 pm
  • Replies 13
  • Views 4489
Re: Tax Rate Problem!!! Need Help

The tax rate is correct but it is being calculated from the price + shipping subtotal. I am not sure if there is an admin option to force it to only tax the price of the product and ignore the shipping.

Jump to post
  • Thu Jul 31, 2008 12:27 am
  • Replies 7
  • Views 1475
Re: Override system?

Well... perhaps an example could be file product.php would be expanded with the files inside the subfolder named product_override. product.php has: $view = $this->locator->create('template'); $view->set('heading_title', $product_info['name']); $view->set('text_enlarge', $language->get('text_enlarge'...

Jump to post
  • Thu Jul 31, 2008 12:08 am
  • Replies 27
  • Views 8788
Under Development: Override system

One of the better features of zen-cart was the use of an override folder to avoid making any changes to the core files, and making adding and removing contribs very easy since you'd just remove the override file, rather than having to edit the core file to add the new code. From the contribs I've lo...

Jump to post
  • Wed Jul 30, 2008 11:20 pm
  • Replies 27
  • Views 8788
Re: First contrib attempt. Trying to understand the structure

Well that helps a little bit. So just as a scenario, if I wanted to add a new extension to the product page, I would have to: 1. Create an /admin/controller/module_catalog_product.php file with "something" in it. (since it doesn't exist yet) 2. Create an /catalog/extension/module/myprodext.php file ...

Jump to post
  • Wed Jul 30, 2008 11:08 pm
  • Replies 13
  • Views 4489
Re: First contrib attempt. Trying to understand the structure

After looking at some other contribs, it seems that they just replace core code... this is definitely a monkey wrench in the plans. Is there perhaps a way to use extensions to modify the core or simply override the core files so that they are never touched? As more contribs touching the same files o...

Jump to post
  • Wed Jul 23, 2008 3:32 am
  • Replies 13
  • Views 4489
Re: First contrib attempt. Trying to understand the structure

Ok. So I've been testing with the extensions and stuff, trying to figure this stuff out but it's not working the way I thought. I thought that the extension would overwrite the controller code, but that doesn't seem to be the case. I got the page looking for my extension module, and I got my extensi...

Jump to post
  • Wed Jul 23, 2008 3:15 am
  • Replies 13
  • Views 4489
Re: First contrib attempt. Trying to understand the structure

Ah, yea i changed it to

Code: Select all

return htmlspecialchars_decode($server . $link);
but that way works too

Thx

Jump to post
  • Wed Jul 23, 2008 1:41 am
  • Replies 13
  • Views 4489
Re: First contrib attempt. Trying to understand the structure

Ok. hm2k explained the extension list problem.
For those who don't know, it is because the "&" are being converted to "&" but the url needs to use the normal "&" not the converted style.

Jump to post
  • Tue Jul 22, 2008 11:51 pm
  • Replies 13
  • Views 4489
Re: First contrib attempt. Trying to understand the structure

What's the deal with "magic quotes"? Are they supposed to be used or should we be converting to standard ? In my experience magic ones just get confusing and break some things

Jump to post
  • Tue Jul 22, 2008 11:07 pm
  • Replies 13
  • Views 4489
Re: First contrib attempt. Trying to understand the structure

Ok, from my testing I see that you add the Extension to the admin area. Oddly, while the extensions are in the database for the default stuff like "Admin Header, footer, etc" there are actually NO extensions showing up in my install of OpenCart. I added my own and I could see it. But it seems that i...

Jump to post
  • Tue Jul 22, 2008 10:47 pm
  • Replies 13
  • Views 4489
First contrib attempt. Trying to understand the structure

To those that have a good understanding of OpenCart.. maybe you can help answer these questions. Question 1: From what I can gather, it appears that most of the core stuff is in the "Controller" folder and the modifications are stored in the "Extensions" folder. And the Extensions override the Contr...

Jump to post
  • Tue Jul 22, 2008 9:55 pm
  • Replies 13
  • Views 4489
Re: OpenCart Currency Updater v0.1 by HM2K

Hi Qphoria, I am reluctantly compelled to reply, especially since I am the provider of the Authorize.net AIM module.  :) The cost of this module is not excessive when you consider the cost of an ssl certificate ( a mandatory requirement when using Authorize.net AIM) the cost of development and test...

Jump to post
  • Tue Jul 22, 2008 11:48 am
  • Replies 19
  • Views 10761
Re: OpenCart Currency Updater v0.1 by HM2K

I too must express some disappointment with the excessive costs of some paid contributions. Authorize.net AIM in particular. One thing that makes some Open source carts like osCommerce and Zen-Cart flourish is the community giving back to its community. If you want to charge for contribs, then use a...

Jump to post
  • Tue Jul 22, 2008 5:00 am
  • Replies 19
  • Views 10761
Re: OpenCart-ReLoaded 0.7.7

A bit late to the game, but I too used to be a reloaded fan until realizing what a headache it was when trying to merge new core code in with older community contribs. You often end up having to handle the maintenance for every contrib you put into the reload, as well as test the whole thing each ti...

Jump to post
  • Tue Jul 22, 2008 3:37 am
  • Replies 9
  • Views 4201
Current Zen-Cart user, looking to transfer to OpenCart.

Hi OC community, I've been a zen-cart user for the past 4 years now, and as much as I like it, I am also thinking it's getting a bit aged in technology. Its still using the a structure very similar to osCommerce, and so every now and then I check the internets for something new and exciting. So I fo...

Jump to post
  • Tue Jul 22, 2008 3:25 am
  • Replies 1
  • Views 1996

Search found 19679 matches