Search found 42 matches

Search found 42 matches

Extract Information

I have a backup of an old OpenCart Store no longer in use. Where can I go to extract the content from the information pages of the site? I have access to all of the files plus the database.

Thank you.

Jump to post
  • Mon Sep 28, 2015 6:08 am
  • Replies 1
  • Views 145
Need Language Pack - US English

Does anyone know of or has anyone created a US English Language Pack.

I am using OpenCart 1.5.6.4 and I can't find any language packs for that version to even start creating one.

Thanks! :o

Jump to post
  • Wed Jul 09, 2014 9:44 am
  • Replies 2
  • Views 714
Re: [BETA3] Upgrade Script 14x to 1.5.1.2 PLUS PRODUCT OPTIO

I just upgrade and received the following error message.... Notice: Undefined index: en in /home/d2cd2c/public_html/store/index.php on line 178Notice: Undefined index: en in /home/d2cd2c/public_html/store/index.php on line 179Notice: Undefined index: en in /home/d2cd2c/public_html/store/index.php on...

Jump to post
  • Fri Oct 11, 2013 4:20 am
  • Replies 410
  • Views 257222
Re: Sort products by quantity in Specials' page

Try putting this code back and trying it...

Code: Select all

 $this->data['sorts'][] = array(
         'text'  => $this->language->get('text_default'),
         'value' => 'p.sort_order-ASC',
         'href'  => $this->url->link('product/special', 'sort=p.sort_order&order=ASC' . $url)
      );

Jump to post
  • Thu Jan 19, 2012 11:46 am
  • Replies 4
  • Views 1881
Re: Modify products chosen for Lastest Products

Well, that is definitely not what I want to do.....I could use featured products, but it has quit working....

I can activate featured products, but when I choose some to appear, they don't...no error messages, just no products either.

Jump to post
  • Thu Oct 13, 2011 9:59 pm
  • Replies 5
  • Views 917
Re: [solved] Modify the default sort order

ps...It would be great if you could help me with this topic too....

http://forum.opencart.com/viewtopic.php?f=21&t=41766

Jump to post
  • Thu Oct 13, 2011 8:21 am
  • Replies 6
  • Views 2959
Re: sort default setting

open: catalog/controller/product/category.php find: if (isset($this->request->get['sort'])) { $sort = $this->request->get['sort']; } else { $sort = 'p.sort_order'; } replace with: if (isset($this->request->get['sort'])) { $sort = $this->request->get['sort']; } else { $sort = 'pd.name'; } The default...

Jump to post
  • Thu Oct 13, 2011 8:19 am
  • Replies 1
  • Views 347
Re: Modify the default sort order

Thank you....worked like a charm....

Sending a donation your way!

Jump to post
  • Thu Oct 13, 2011 8:12 am
  • Replies 6
  • Views 2959
Re: Modify the default sort order

Thanks I will give it a try.....

Could you tell me how to change the code if they want it to sort by name first A-Z....They are having trouble making up their mind as to which way they want it ;)

Thanks for you help!

Jump to post
  • Thu Oct 13, 2011 5:08 am
  • Replies 6
  • Views 2959
[solved] Modify the default sort order

I would like to change the code for the default sort order so that it displays the items with the most in stock first. Any ideas?

Jump to post
  • Thu Oct 13, 2011 12:34 am
  • Replies 6
  • Views 2959
Re: Modify products chosen for Lastest Products

Your plug-in looks nice but is way more than what is needed. In addition, there is a LOT of custom coding on this site and I don't want to lose any of that or corrupt it. What I want to do is simply to modify the code to make it look at a particular category only....If anyone can help, it is greatly...

Jump to post
  • Thu Oct 13, 2011 12:31 am
  • Replies 5
  • Views 917
Re: Category Page Add To Cart

Your add to cart button code should look something like...

Code: Select all

<a class="button" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" ><span><?php echo $button_add_to_cart; ?></span></a>
It depends on which version of opencart you are using.

Jump to post
  • Sat Sep 24, 2011 10:18 am
  • Replies 5
  • Views 934
Re: Modify products chosen for Lastest Products

Or perhaps simpler to only include products from category id 56...

Jump to post
  • Sat Sep 24, 2011 9:40 am
  • Replies 5
  • Views 917
Modify products chosen for Lastest Products

I would like to use the latest products module on the home page of a site. I would like to change the products it chooses to exclude a category that has a sort order of -1.

Any ideas?

Jump to post
  • Sat Sep 24, 2011 8:43 am
  • Replies 5
  • Views 917
Re: Out of Stock or Add to Cart button on categories Page

I asked about the 14 kids b/c that is what you had in your signature....lol

I myself have only 6, but with 6 kids, I could only make a small donation to say thank you for your help!

Jump to post
  • Sat Sep 24, 2011 6:45 am
  • Replies 20
  • Views 4036
Re: Out of Stock or Add to Cart button on categories Page

Thank you for all your help....Do you really have 14 kids?

Jump to post
  • Sat Sep 24, 2011 6:37 am
  • Replies 20
  • Views 4036
Re: Out of Stock or Add to Cart button on categories Page

This got it....

Code: Select all

<?php if ($products[$j]['stock'] == 0) {
            echo '<b>Out Of Stock</b>';
         } else { ?>
            <a class="button" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" ><span><?php echo $button_add_to_cart; ?></span></a><?php } ?>  

Jump to post
  • Sat Sep 24, 2011 6:37 am
  • Replies 20
  • Views 4036
Re: Out of Stock or Add to Cart button on categories Page

hmmm...

Now I get

Notice: Undefined variable: product in /catalog/view/theme/dillard/template/product/category.tpl on line 63
Out Of Stock

Jump to post
  • Sat Sep 24, 2011 6:32 am
  • Replies 20
  • Views 4036
Re: Out of Stock or Add to Cart button on categories Page

The other issue I have is that I want the button to be part of the else in the code, but I can't seem to get it right with the mixture of php and html.....Please help!

Jump to post
  • Sat Sep 24, 2011 6:21 am
  • Replies 20
  • Views 4036

Search found 42 matches