Search found 18327 matches

Search found 18327 matches

Re: OpenCart 1.5 DB Diagrams here

There's a typo on your demonstration from 1 field:

Code: Select all

attribue_description
it should rather read:

Code: Select all

attribute_description

Jump to post
  • Fri Dec 09, 2011 12:36 am
  • Replies 3
  • Views 1993
Re: Modified products error

If you go to your System - > Error Logs under the admin, what does the logs return as event ?

Jump to post
  • Fri Dec 09, 2011 12:02 am
  • Replies 2
  • Views 500
Re: [SOLVED]About the global method used in controller class

The index.php is mainly as inclusively considered global.php file mixed with an index definition while we compare with non-CMS platform applications. ;)

Jump to post
  • Thu Dec 08, 2011 2:17 pm
  • Replies 4
  • Views 2536
Re: About the global method used in controller class

Incorrect. There's a document object from index.php file and admin/index.php file which then gets registered in order to be globalized within the entire catalog and another one within the entire admin.

Code: Select all

// Document
$document = new Document();
$registry->set('document', $document);

Jump to post
  • Thu Dec 08, 2011 1:57 pm
  • Replies 4
  • Views 2536
Re: 1.5.1.3 language question

The 'each' language is not mandatory for all of them, I believe. Only one of the language or the default one for the store may be mandatory but I'm not quite sure on this one. Since you claimed to have deactivated the languages (except one obviously), what if you only enter the details for the langu...

Jump to post
  • Thu Dec 08, 2011 10:11 am
  • Replies 12
  • Views 10021
Re: Attribute Value Query Problem

Without testing the results on site, it would be pretty hard to distinguish if the codes I would be going to provide would work efficiently. However, I also am looking at this line: $this->model_catalog_browse and can't seem to find it anywhere on OC. Perhaps from an extension or self-contributed mo...

Jump to post
  • Thu Dec 08, 2011 9:56 am
  • Replies 10
  • Views 3618
Re: Product Options (want total price)

The total price may be a bit of work but as for changing the options from a dropdown menu to radio buttons, you can always customize the look and feel from the templates. ;)

Jump to post
  • Thu Dec 08, 2011 9:53 am
  • Replies 20
  • Views 9916
Re: Downloads not showing up in admin OC 1.5.1.3

Did you followed the installation documentation regarding FTP folder permissions ?

Jump to post
  • Thu Dec 08, 2011 9:51 am
  • Replies 7
  • Views 660
Re: Attribute Value Query Problem

It is not mandatory to use preg_match with an if statement when dumping results into a scalar but I always do it anyway in case a scalar would return an empty result which would cause an error message event.

Jump to post
  • Thu Dec 08, 2011 9:47 am
  • Replies 10
  • Views 3618
Re: Attribute Value Query Problem

Now, it's much clearer when the original subject is posted. As you can see, there's a possibility of a comma AND '|' within the if statement which means that an explode or splitting the string wouldn't be sufficient. What is rather required in this case is using preg_match and to return a scalar and...

Jump to post
  • Thu Dec 08, 2011 9:37 am
  • Replies 10
  • Views 3618
Re: Attribute Value Query Problem

Simply create a multi-dimensional loop and "blue" as the 2nd key would then seek the 2nd extracted array of "red|green|blue". $this->data['value_colors'] = array(); if (is_array($value)) { foreach ($value as $second_key => $value_colors) { $value_colors_array = explode("|", $value_colors); if (!empt...

Jump to post
  • Thu Dec 08, 2011 9:13 am
  • Replies 10
  • Views 3618
Re: Attribute Value Query Problem

There's multiple possibilities to extract text as such. You can use preg_match, explode, preg_split. These are the functions I use the most when required. You have this field as text name so you can try something like the following with explode - assuming your SQL object name is called $result for e...

Jump to post
  • Thu Dec 08, 2011 9:00 am
  • Replies 10
  • Views 3618
Re: Error Repeat Order extension

Did you sent a message to the author of this contribution ?

Jump to post
  • Thu Dec 08, 2011 7:13 am
  • Replies 2
  • Views 524
Re: How to edit the Customer registration Auto Email

Hum ... a clue. In catalog/model/account/customer.php file, find: $message .= $this->url->link('account/login', '', 'SSL') . "\n\n"; replace with: $message .= HTTPS_SERVER . 'index.php?route=account/login' . "\n\n"; Then, to complete your request, find: $message .= $this->language->get('text_thanks'...

Jump to post
  • Thu Dec 08, 2011 6:42 am
  • Replies 1
  • Views 2725
Re: Are these bugs?

At line 10 of that file,

replace:

Code: Select all

if ($this->customer->isLogged()) {
with:

Code: Select all

if ($this->customer->isLogged() && isset($this->request->post['payment_address_id'])) {
This should correct the problem.

Jump to post
  • Thu Dec 08, 2011 6:28 am
  • Replies 6
  • Views 1464
Re: Getting nasty error!!!

- admin/controller/sale/order.php
- admin/model/affiliate.php
- admin/model/sale/customer.php

If none of those three files has been modified from your end, I would first suggest to make a backup of those files and to re-upload fresh versions from the ZIP file you downloaded.

Jump to post
  • Thu Dec 08, 2011 6:13 am
  • Replies 9
  • Views 841
Re: Selling product pack/grouping

There are two possible options to make such modifications: 1 - To build an extension which would entirely replace the cart page from what has already been built in the core and entirely show those groups from that developed extension. 2 - To implement the groups feature into the cart's library and t...

Jump to post
  • Thu Dec 08, 2011 6:08 am
  • Replies 1
  • Views 868
Re: coupon limitation - dosn't work

Corrections has been made from the post above in order to use specific products with coupons which customers will also be advised on which product specifically the coupon(s) can be used.

Jump to post
  • Thu Dec 08, 2011 5:34 am
  • Replies 25
  • Views 6178
catalog/model/checkout/voucher.php

Countless posts were reported previously regarding the problematic based on the succession of orders vs vouchers which customers may or may not receive. To fix this issue, go to your catalog/model/checkout/voucher.php file, find: $voucher_query = $this->db->query("SELECT *, vtd.name AS theme FROM `"...

Jump to post
  • Thu Dec 08, 2011 5:17 am
  • Replies 0
  • Views 433

Search found 18327 matches