Page 11 of 13

Re: Post any OpenCart 1.4.7 Bugs here!

Posted: Sat May 15, 2010 2:22 am
by i2Paq
Qphoria wrote:yea thats fixed too. just edit the low_order file in catalog/model/total/low_order
and replace the copy/paste of "handling" with "low_order"
If I do copy the "handling" to the "low_order" module and change the "handling" with "low_order" the module does not even show up during checkout.

Re: Post any OpenCart 1.4.7 Bugs here!

Posted: Sat May 15, 2010 3:59 am
by Qphoria
that is not what I said.
edit catalog/model/total/low_order
remove all words that say "handling" with "low_order"

Re: Post any OpenCart 1.4.7 Bugs here!

Posted: Sat May 15, 2010 3:01 pm
by VladZablotskyy
New products do not show in the store front....

I have updated to 1.4.7 two weeks ago and everything worked fine until today... I was trying to place an additional image right into the product's description and instead of using the new picture management (which I love by the way) I just used the the "insert image button" in the top of the wysiwyg editor (see the attachment).
Screenshot-2.png

Screenshot-2.png (16.39 KiB) Viewed 7192 times

After browsing the file and hitting "Send it to the Server" button, nothing happened. After this I used the new picture management system to upload the additional image to be placed in the product's description, however once I hit save the product(s) do not show in the front store. They can be found in the admin area, but not in the front end of the store. Tried to ad other products, same looks like they are added and the message says "Success: You have modified products!" - but they do not show in the store, only in the admin area. Would greatly appreciate your help.

Re: Post any OpenCart 1.4.7 Bugs here!

Posted: Sat May 15, 2010 5:45 pm
by i2Paq
Qphoria wrote:that is not what I said.
edit catalog/model/total/low_order
remove all words that say "handling" with "low_order"
I still cannot see what you are talking about.

This is the code:

Code: Select all

<?php
class ModelTotalLowOrderFee extends Model {
    public function getTotal(&$total_data, &$total, &$taxes) {
        if ($this->config->get('low_order_fee_status') && ($this->cart->getSubTotal() < $this->config->get('low_order_fee_total'))) {
            $this->load->language('total/low_order_fee');
             
            $this->load->model('localisation/currency');
            
            $total_data[] = array( 
                'title'      => $this->language->get('text_low_order_fee'),
                'text'       => $this->currency->format($this->config->get('low_order_fee_fee')),
                'value'      => $this->config->get('low_order_fee_fee'),
                'sort_order' => $this->config->get('low_order_fee_sort_order')
            );
            
            if ($this->config->get('low_order_fee_tax_class_id')) {
                if (!isset($taxes[$this->config->get('low_order_fee_tax_class_id')])) {
                    $taxes[$this->config->get('low_order_fee_tax_class_id')] = $this->config->get('handling_fee') / 100 * $this->tax->getRate($this->config->get('low_order_fee_tax_class_id'));
                } else {
                    $taxes[$this->config->get('low_order_fee_tax_class_id')] += $this->config->get('handling_fee') / 100 * $this->tax->getRate($this->config->get('low_order_fee_tax_class_id'));
                }
            }
            
            $total += $this->config->get('low_order_fee_fee');
        }
    }
}
?>
I changed, removed and whatever else that even remotely looks like handling, the only one I can find is:

Code: Select all

            if ($this->config->get('low_order_fee_tax_class_id')) {
                if (!isset($taxes[$this->config->get('low_order_fee_tax_class_id')])) {
                    $taxes[$this->config->get('low_order_fee_tax_class_id')] = $this->config->get('handling_fee') / 100 * $this->tax->getRate($this->config->get('low_order_fee_tax_class_id'));
                } else {
                    $taxes[$this->config->get('low_order_fee_tax_class_id')] += $this->config->get('handling_fee') / 100 * $this->tax->getRate($this->config->get('low_order_fee_tax_class_id'));
                }
            }
 
Whatever I make of it, it still does not work.

Re: Post any OpenCart 1.4.7 Bugs here!

Posted: Sat May 15, 2010 10:42 pm
by VladZablotskyy
Never mind Q,
my issue fixed itself (no idea how) - feel free to delete this post along with the one above in this thread. Thanks.
VladZablotskyy wrote:New products do not show in the store front....

I have updated to 1.4.7 two weeks ago and everything worked fine until today... I was trying to place an additional image right into the product's description and instead of using the new picture management (which I love by the way) I just used the the "insert image button" in the top of the wysiwyg editor (see the attachment).
Screenshot-2.png
After browsing the file and hitting "Send it to the Server" button, nothing happened. After this I used the new picture management system to upload the additional image to be placed in the product's description, however once I hit save the product(s) do not show in the front store. They can be found in the admin area, but not in the front end of the store. Tried to ad other products, same looks like they are added and the message says "Success: You have modified products!" - but they do not show in the store, only in the admin area. Would greatly appreciate your help.

Re: Post any OpenCart 1.4.7 Bugs here!

Posted: Sat May 15, 2010 10:49 pm
by Qphoria
i2Paq wrote:
Qphoria wrote:that is not what I said.
edit catalog/model/total/low_order
remove all words that say "handling" with "low_order"
I still cannot see what you are talking about.

I changed, removed and whatever else that even remotely looks like handling, the only one I can find is:

Code: Select all

            if ($this->config->get('low_order_fee_tax_class_id')) {
                if (!isset($taxes[$this->config->get('low_order_fee_tax_class_id')])) {
                    $taxes[$this->config->get('low_order_fee_tax_class_id')] = $this->config->get('handling_fee') / 100 * $this->tax->getRate($this->config->get('low_order_fee_tax_class_id'));
                } else {
                    $taxes[$this->config->get('low_order_fee_tax_class_id')] += $this->config->get('handling_fee') / 100 * $this->tax->getRate($this->config->get('low_order_fee_tax_class_id'));
                }
            }
  
Whatever I make of it, it still does not work.

Just change "handling_fee" to "low_order_fee_fee"

Couple of little typos

Posted: Sat May 15, 2010 11:18 pm
by Moggin
Catalog/language/english/account/success.php - Line 6 or so: priviledges > privileges

Catalog/language/english/checkout/confirm.php - Line 33 or so : it\’s usage limit > should be its

Offered in spirit of helping, not criticism....:)

Newsletter subscription bug?

Posted: Wed May 19, 2010 4:35 pm
by dannydaman9
Hi I've had a quick flick through the forum and this seems to be unsolved so far.

There seems to be a problem with the newsletter subscription. Customers seem to recieve the newsletter even if they are not subscribed to it. Is there a fix for it or is it still unsolved.

Thanks

Re: Newsletter subscription bug?

Posted: Thu May 20, 2010 12:06 am
by Qphoria
Moggin wrote:Catalog/language/english/account/success.php - Line 6 or so: priviledges > privileges

Catalog/language/english/checkout/confirm.php - Line 33 or so : it\’s usage limit > should be its

Offered in spirit of helping, not criticism....:)
Fixed in 1.4.8. Thanks!

Re: Newsletter subscription bug?

Posted: Thu May 20, 2010 1:56 am
by Qphoria
dannydaman9 wrote:Hi I've had a quick flick through the forum and this seems to be unsolved so far.

There seems to be a problem with the newsletter subscription. Customers seem to recieve the newsletter even if they are not subscribed to it. Is there a fix for it or is it still unsolved.

Thanks
I've tested this back in 1.4.0 and again just now with 1.4.7. There is no bug that I can see. I have 5 customers. 2 have newsletter checked. 3 do not. I send an email to newsletter only customers and I step it through the debugger. It only sends an email to the 2 customers that have newsletter checked. The other 3 do not. Perhaps this was fixed a while back and you are using an old version

Specials Block Quantity

Posted: Sat May 22, 2010 4:30 pm
by American
Searched around but couldn't find if this has been an issue with anyone else.

Enabled the Specials block and set the quantity to 3 but it's not limiting how many are shown in the block.

Am I missing something?

Re: Specials Block Quantity

Posted: Sat May 22, 2010 5:32 pm
by i2Paq
Have a look here: Post any OpenCart 1.4.7 Bugs here!

Check the Specials bug.

Re: Specials Block Quantity

Posted: Sat May 22, 2010 9:01 pm
by American
Like I said above, I've searched....but I'll look again. How about a link?

Because if it's this 'fix' it didn't fix my problem.

http://forum.opencart.com/viewtopic.php?p=65131#p65131

Re: Specials Block Quantity

Posted: Sat May 22, 2010 9:53 pm
by Qphoria
1. EDIT: catalog/controller/module/specials.php

2. FIND:

Code: Select all

$results = $this->model_catalog_product->getProductSpecials($this->config->get('special_limit')); 
3. REPLACE WITH:

Code: Select all

$results = $this->model_catalog_product->getProductSpecials('pd.name', 'ASC', 0, $this->config->get('special_limit')); 

Re: Specials Block Quantity

Posted: Sun May 23, 2010 1:36 am
by i2Paq
Q, is it a bug?

Re: Post any OpenCart 1.4.7 Bugs here!

Posted: Sun May 23, 2010 3:30 am
by jefrey1983
can't insert category at 1.4.0 i was having this error it was previously working without problem before then suddenly i can't insert any category then i tried upgrading to 1.4.7 hoping the error will be gone but i am still encountering it

Re: Specials Block Quantity

Posted: Sun May 23, 2010 4:25 am
by American
Q... you and I are getting to know each other early on huh?

That did the trick.

Thanks again!

Re: Specials Block Quantity

Posted: Sun May 23, 2010 1:32 pm
by Qphoria
Yes it is a bug that was found a few weeks ago in the main bug thread. I just didn't feel like finding it

Re: Specials Block Quantity

Posted: Sun May 23, 2010 2:43 pm
by i2Paq
Qphoria wrote:Yes it is a bug that was found a few weeks ago in the main bug thread. I just didn't feel like finding it
No problem ;)

I've added the solution to the first page and merged the topics.

Re: Post any OpenCart 1.4.7 Bugs here!

Posted: Sun May 23, 2010 5:48 pm
by American
The Specials Block bug code fixes the quantity shown but does not update the block when new specials items are added. Shows the first three (in this case I have it set to 3) items in the specials page so until those items sell than the block will not show the others.

It should either show the latest sale/specials additions or random rotation.