Search found 85 matches

Search found 85 matches

Re: Site search options as well

Look I was purely asking if anyone had already done this themselves as it may have just been a little bit of coding that I needed to update.

I did clearly state or would it be a case of me getting an extension. Thanks for your input as usual anyway. ::)

Jump to post
  • Tue Apr 23, 2019 5:57 pm
  • Replies 2
  • Views 214
Site search options as well

Is it possible to update the site search to also look within the options set up within a product as well? For example if you search say "Nike T-Shirt" the results will show a product. However, if you also include an option such as "Nike T-Shirt Large" it comes up saying no products found. Or will it...

Jump to post
  • Tue Apr 23, 2019 5:07 am
  • Replies 2
  • Views 214
Re: How to add EAN to order invoice

All sorted and now showing on the order invoice.

Thanks again for all of your help :)

Jump to post
  • Sat Apr 20, 2019 6:36 am
  • Replies 9
  • Views 396
Re: How to add EAN to order invoice

Perfect thanks uksitebuilder. I now have the EAN number showing in the order_product table. As you say I also had to add this to the editOrder function otherwise it would remove it once the order had been edited. Now I just have to get this to show within the order_invoice.tpl file which should hope...

Jump to post
  • Sat Apr 20, 2019 2:09 am
  • Replies 9
  • Views 396
Re: How to add EAN to order invoice

Hi Ernie, Not sure what you mean? When the product is created in the admin the EAN data would all be created and added to the database. When an order is made I then need to send the EAN number that is already in the database to the new ean column I created in order_product just like it does by defau...

Jump to post
  • Fri Apr 19, 2019 4:57 pm
  • Replies 9
  • Views 396
Re: How to add EAN to order invoice

Yes I understand that.

But by default when an order is made information is added to the order_product table including the model. So I just want the EAN number to also be sent in the same way and stored in the new ean column I have already created.

Jump to post
  • Fri Apr 19, 2019 6:49 am
  • Replies 9
  • Views 396
Re: How to add EAN to order invoice

Hi,

I am trying to work it out myself as I am learning and will need to undertake this for multiple sites both now and in the future.

I was hoping as the ean data is in the database already it would not be that difficult to send it to the new table.

Jump to post
  • Fri Apr 19, 2019 2:04 am
  • Replies 9
  • Views 396
[SOLVED] How to add EAN to order invoice

I am trying to add the EAN number to the order invoice within Opencart 2.0.3.1. I have created a new column called 'ean' in the order_product table which appears after model. What I need it to do is when an order is made it sends the products EAN number and then adds this to the new ean column. I th...

Jump to post
  • Fri Apr 19, 2019 1:34 am
  • Replies 9
  • Views 396
Re: Add location to category page

Thanks Ernie.

All is working now.

Before I added some of the code further down (after the special) the product array in the category controller file so I guess that is why it was not working.

Thanks again

Jump to post
  • Wed Nov 21, 2018 5:09 pm
  • Replies 2
  • Views 202
Add location to category page

I am using the location field to add an RRP price. Having looked through the forum I have managed to add this to the product page without any issues but I also want this showing on the category page next to the price and I am struggling. The Opencart version is 2.0.3.1. If anyone can help or point m...

Jump to post
  • Wed Nov 21, 2018 7:32 am
  • Replies 2
  • Views 202
Re: New Multi Store - JSON Error

It was a query from from the post Paul linked to above: https://forum.opencart.com/viewtopic.php?f=190&t=157453&start=20#p650488 So in the order table it changed the store URL from HTTP to HTTPS on the non SSL site. However, this did not resolve the JSON error from appearing. So at the moment the or...

Jump to post
  • Fri Mar 17, 2017 7:45 pm
  • Replies 6
  • Views 1171
Re: New Multi Store - JSON Error

Has anybody else encountered an issue like this?

If anyone has any advice on how to fix would be much appreciated.

Thanks

Jump to post
  • Wed Mar 15, 2017 4:06 am
  • Replies 6
  • Views 1171
Re: New Multi Store - JSON Error

Hi Paul, I ran the query in the database so all past orders in the order table showing http: were changed to https but still when going to the admin and trying to change the order history on an order made on the additional multi store site the JSON error comes up. I did only update the table for the...

Jump to post
  • Wed Mar 08, 2017 8:47 pm
  • Replies 6
  • Views 1171
New Multi Store - JSON Error

Hi, I have set up a new Multi Store and am now getting a JSON error when trying to update the order history. The Opencart version used is 2.0.3.1. The error coming up is: "SyntaxError: Unexpected end of JSON input" So to confirm the main store (default) is able to still update order history but on o...

Jump to post
  • Wed Mar 08, 2017 6:29 pm
  • Replies 6
  • Views 1171
Re: Pre Order Date Available

Yes they are two extensions. One is a category filter which I don't think has any effect on the stock status and the other I thought possibly would effect this but like I said I have added both of these to a fresh install of opencart and all the code works unlike the real live site. It must be somet...

Jump to post
  • Wed Jul 20, 2016 5:42 am
  • Replies 38
  • Views 2250
Re: Pre Order Date Available

Unfortunately that is still showing the date available on both products in stock and those out of stock and set to pre order. I only have a couple of extensions in use. One of them is the Brainy filter and the other is a default stock status by Fido-X http://www.fido-x.net/index.php?route=product/pr...

Jump to post
  • Wed Jul 20, 2016 5:36 am
  • Replies 38
  • Views 2250
Re: Pre Order Date Available

So does the following: <?php if (strtolower($stock_status) != 'in stock') { ?> <li>Date Available: <?php echo date("d-m-Y", strtotime($date_available)); ?></li> <?php } ?> Mean that if the stock status is set to "in stock" that the date available will not show but it will for all of the other stock ...

Jump to post
  • Wed Jul 20, 2016 2:42 am
  • Replies 38
  • Views 2250
Re: Pre Order Date Available

But on the item which is in stock the text displayed before was:

In Stock. FREE Delivery in the UK
Stock Status: instock
Date Available: 09-04-2002

So does that not mean that the stock status is still being set to instock?

Jump to post
  • Wed Jul 20, 2016 2:02 am
  • Replies 38
  • Views 2250
Re: Pre Order Date Available

Tried this as well and it still shows the date on all products. So those that are pre-order (so out of stock with 0 quantity and the out of stock status set to pre order) and also those that are in stock (so have a quantity available but the out of stock status is set to out of stock).

Jump to post
  • Wed Jul 20, 2016 1:57 am
  • Replies 38
  • Views 2250
Re: Pre Order Date Available

This now appears to show the date available on all products including those that are set to in stock. I re-added the code from before to check the stock status on an in-stock item and this is displayed as:

In Stock. FREE Delivery in the UK
Stock Status: instock
Date Available: 09-04-2002

Jump to post
  • Wed Jul 20, 2016 1:42 am
  • Replies 38
  • Views 2250

Search found 85 matches