Search found 80 matches

Search found 80 matches

Re: move currency above checkout

Thanks for response.
The development site is http://new.kevinkirby.com

The attached screenshot explains what Iam trying to achive.
thanks

Jump to post
  • Thu Oct 20, 2016 5:56 pm
  • Replies 12
  • Views 1437
Re: move currency above checkout

This code worked perfectly first time.

However, i woulkd like to place the currency module on the left hand side bar of home page or other similar locations. Where Would I post your code to do that?
Grateful for your help?

Jump to post
  • Thu Oct 20, 2016 5:38 pm
  • Replies 12
  • Views 1437
Currency Box Move

Hi
Can anyone help me with moving the Curreny module from Top to the sidebar position in opencart 2.1.0.1?
Grateful for any help. Have tried a few changes in header.tpl but with no success.
Thanks

Jump to post
  • Thu Oct 20, 2016 5:45 am
  • Replies 11
  • Views 447
Re: Subject drop down box

Many thanks artcore. With a bit of experiementing finallt got there!

Really appreciate your input.

Thanks

Jump to post
  • Fri Oct 14, 2016 7:55 pm
  • Replies 14
  • Views 1484
Re: Subject drop down box

Hi artcore OK I have now looked at other coding in the controller and have changed the isset and this has made the check correct. So every thing is working on the form but it is now only the email not including the reason. There is no mail contact.tpl but in the controller there is this: $mail->setT...

Jump to post
  • Fri Oct 14, 2016 7:02 pm
  • Replies 14
  • Views 1484
Re: Subject drop down box

Hi artcore Thanks for response. There is no error in the screenshot the form has the box and drop down. I do not understand your comment as I am just learning. What do you mean by 'Are you calling the validation method from if POST && $this->validation() ?' Is that why the reason is not appearing in...

Jump to post
  • Fri Oct 14, 2016 4:06 pm
  • Replies 14
  • Views 1484
Re: Subject drop down box

Oops
forgot one piece of code in Language:

Code: Select all

$_['entry_reason']   = 'Reason for enquiry';
$_['reason1']='General';
$_['reason2']='Sales';
$_['reason3']='Delivery';
$_['reason4']='Hire';
That's it!

Jump to post
  • Fri Oct 14, 2016 6:05 am
  • Replies 14
  • Views 1484
Re: Subject drop down box

Hi nearly there! Using your starting point there were a number of issues when I finally got it to appear. This has been the sequence of code I used. In the catalog/controller/information/contact.php: $data['text_reason'] = $this->language->get('text_reason'); $data['entry_reason'] = $this->language-...

Jump to post
  • Fri Oct 14, 2016 6:02 am
  • Replies 14
  • Views 1484
Re: Subject drop down box

Hi Again Have made all thge suggested code entries and get the following error: Parse error: syntax error, unexpected 'protected' (T_PROTECTED) in C:\xampp\htdocs\kevinkirby\vqmod\vqcache\vq2-catalog_controller_information_contact.php on line 211 Have tried to make sure the code is entered at the co...

Jump to post
  • Thu Oct 13, 2016 11:22 pm
  • Replies 14
  • Views 1484
Re: Subject drop down box

Hi artcore You kindly helped with an issue recently. I have now added (Successfully) a 'subject' box in my contact form. Can you help me turn this into a drop down list with some options? Thanks for any assistance. I added to Catalog/controllor/information/contact.php if (isset($this->request->post[...

Jump to post
  • Thu Oct 13, 2016 9:31 pm
  • Replies 14
  • Views 1484
Subject drop down box

hi artcore

New topic to cover query
Thanks

Jump to post
  • Thu Oct 13, 2016 8:40 pm
  • Replies 14
  • Views 1484
Re: Site Last updated

The drop down is just one subject box in oine language. It will have about five choices.
I will move this to a new topic 'Subject drop down box'

thanks a lot

Jump to post
  • Thu Oct 13, 2016 8:38 pm
  • Replies 22
  • Views 2360
Re: Site Last updated

Hi artcore You kindly helped with an issue recently. I have now added (Successfully) a 'subject' box in my contact form. Can you help me turn this into a drop down list with some options? Thanks for any assistance. I added to Catalog/controllor/information/contact.php if (isset($this->request->post[...

Jump to post
  • Thu Oct 13, 2016 5:52 pm
  • Replies 22
  • Views 2360
Re: Site Last updated

Hi No offence taken it was the emoji Yes the code that artcore helped with will alow the footer to show the last date anything was updated. The final code that worked for me was: footer.tpl <div>this site was last updated at <?php echo $products_last_updated; ?></div> Php in controller/catalog/commo...

Jump to post
  • Thu Sep 29, 2016 6:01 pm
  • Replies 22
  • Views 2360
Re: Site Last updated

Your a genius - perfect result. massive thank you!

Jump to post
  • Thu Sep 29, 2016 5:07 am
  • Replies 22
  • Views 2360
Re: Site Last updated

I now have

$query = "select max(date_modified) as last_updated from "oc_"product";

And get

Parse error: syntax error, unexpected 'oc_' (T_STRING) in C:\xampp\htdocs\kevinkirby\vqmod\vqcache\vq2-catalog_controller_common_footer.php on line 6
What am I doing wrong?

Jump to post
  • Thu Sep 29, 2016 2:47 am
  • Replies 22
  • Views 2360
Re: Site Last updated

Hi again Just one more push I think. I am not getting the database link right. I am getting, Notice: Error: Table 'oc.product' doesn't exist Error No: 1146 select max(date_modified) as last_updated from oc.product in C:\xampp\htdocs\kevinkirby\system\library\db\mysqli.php on line 41Notice: Trying to...

Jump to post
  • Thu Sep 29, 2016 2:38 am
  • Replies 22
  • Views 2360
Re: Site Last updated

Thank you so much for your response much appreciated. I think we are getting there. I have entered $this->load->model(catalog/product); $query = "select max(date_modified) as last_updated from " "oc.product"; $data['products_last_updated'] = $this->db->query($query)->row['last_updated']; This produc...

Jump to post
  • Thu Sep 29, 2016 1:27 am
  • Replies 22
  • Views 2360
Re: Site Last updated

Hi artcore I was experimenting with your suggestion and it seems that i need to call a date from the database. i am not a programmer but have a small understanding of how to do this. I came up with: <div class="updated"><?php echo $oc_product_date-Modified; ?></div> Unfortunately it caused a syntax ...

Jump to post
  • Wed Sep 28, 2016 11:12 pm
  • Replies 22
  • Views 2360
Re: Site Last updated

Cyclops12 keep your hair on...if you read the flow the 'updated' refers to what was trying to be achieved. i.e. the last date the site was changed. Fred kindly tried to help and I replied after trying his solutin. Now Artcore has kindly offered a solution which works but only for 'today's date' whic...

Jump to post
  • Wed Sep 28, 2016 10:07 pm
  • Replies 22
  • Views 2360

Search found 80 matches