Search found 87 matches

Search found 87 matches

Import products from affiliate & cron job

Looking for a clean opencart install with option for products to be imported from csv files (I've seen extensions for this) but the csv files will come from an affiliate website. I would then need a cron job to check for new products / changes in products. Not sure if the best way would be to delete...

Jump to post
  • Wed May 06, 2020 3:19 am
  • Replies 7
  • Views 320
Re: Account - Add an Affiliate (SMTP ERROR)

yep, looks like it. you could try replacing the smtp class with the one from version 3.1.0.0. It is basically the same but it has a function (handleReply) which promises to handle the replies better from slow mail server responses. you can set the attempts counter in the class. Not sure this is you...

Jump to post
  • Sat Apr 04, 2020 11:24 pm
  • Replies 21
  • Views 353
Re: Account - Add an Affiliate (SMTP ERROR)

are you sure you have the right DATA not accepted from server line? there are two in there. I think so? Uncaught exception 'Exception' with message 'Error: DATA nnot accepted from server!' in /system/library/mail/smtp.php:328 Line 328 in SMTP: if (substr($reply, 0, 3) != 250) { throw new \Exception...

Jump to post
  • Sat Apr 04, 2020 10:54 pm
  • Replies 21
  • Views 353
Re: Account - Add an Affiliate (SMTP ERROR)

mail parameter is only used for php mail, not smtp. you could try throw new \Exception('Error: '.$reply.' DATA not accepted from server!'); to show the entire reply to the period. could just be a timeout issue. Getting nothing for '.$reply.' too. Is timeout something that I will be able to fix? Or ...

Jump to post
  • Sat Apr 04, 2020 10:40 pm
  • Replies 21
  • Views 353
Re: Account - Add an Affiliate (SMTP ERROR)

PM sent, thanks for helping me! I have just done some extra tests. If I create an account through affiliate/register it makes a new customer and adds affiliate details to `oc_customer_affiliate`. If I delete its entry in `oc_customer_affiliate`and go to account/affiliate/add I am able to add it back...

Jump to post
  • Sat Apr 04, 2020 10:31 pm
  • Replies 21
  • Views 353
Re: Account - Add an Affiliate (SMTP ERROR)

must be null as it's not changing the error message. Why would it return null? Could this be the issue? Your mail parameter is also empty in the form. Some servers still may require you enter your outgoing mail. address in the Mail Parameter of your OC Mail form. Same error :( throw new \Exception(...

Jump to post
  • Sat Apr 04, 2020 10:13 pm
  • Replies 21
  • Views 353
Re: Account - Add an Affiliate (SMTP ERROR)

The affiliate option at the bottom is unchecked. I just tested with and without, to see if the error changed but it was the same whether checked or not. $mail->setHtml($this->load->view('mail/affiliate', $data)); affiliate mail views are text not html. you can try changing: if (substr($reply, 0, 3)...

Jump to post
  • Sat Apr 04, 2020 10:02 pm
  • Replies 21
  • Views 353
Re: Account - Add an Affiliate (SMTP ERROR)

https://imgur.com/a/rYgowmI

Here is my setup beside a screenshot of the cpanel instructions.

Thanks again!

Jump to post
  • Sat Apr 04, 2020 9:42 pm
  • Replies 21
  • Views 353
Re: Account - Add an Affiliate (SMTP ERROR)

Thanks for sending that. I made the changes, but same exact error :( The setup is working for everything else. if (substr($reply, 0, 3) != 250) { throw new \Exception('Error: DATA not accepted from server!'); } This is line 328 of the smtp, what causes substr($reply, 0, 3) not to be 250? And what do...

Jump to post
  • Sat Apr 04, 2020 9:15 pm
  • Replies 21
  • Views 353
Re: Account - Add an Affiliate (SMTP ERROR)

See this post: https://forum.opencart.com/viewtopic.php?f=202&t=216498&p=779948&hilit=ssl%3A%2F%2F#p779948 . Thanks for the reply. I just checked and I am using "ssl://". I went through cpanel and it seems correct host. Mail is working for everything else, even working for affiliate when added thro...

Jump to post
  • Sat Apr 04, 2020 8:47 pm
  • Replies 21
  • Views 353
[SOLVED] - Account - Add an Affiliate (SMTP ERROR)

On a clean install, I am getting this error when adding an account as an affiliate. Here is my error: Fatal error: Uncaught exception 'Exception' with message 'Error: DATA not accepted from server!' in .../system/library/mail/smtp.php:328 Stack trace: #0 .../system/library/mail.php(142): Mail\Smtp->...

Jump to post
  • Sat Apr 04, 2020 7:34 pm
  • Replies 21
  • Views 353
Re: Guest Wishlist

I seen them. Not mentioned on your first post. I thought they were called extensions ??? I see there were some extensions before for a guest wishlist, but no current ones. I guess you'd need a cookie with no expiry set but it would only work on the device that user created their wishlist on so it m...

Jump to post
  • Fri Apr 03, 2020 7:45 pm
  • Replies 5
  • Views 144
Re: Guest Wishlist

I seen them. The only one that is compatible with 3.0+ seems to not be updated from the comments.

I'd rather make my own if I am able to - I'm just hoping for some ideas on best way to implement this correctly.

Jump to post
  • Fri Apr 03, 2020 7:20 pm
  • Replies 5
  • Views 144
[SOLVED] - Guest Wishlist

I see there were some extensions before for a guest wishlist, but no current ones.

Any pointers on how I would I go about creating a wishlist that guests could add to?

Would it need to be stored as a cookie rather than session to stop it clearing whenever they left the site?

Thanks!

Jump to post
  • Fri Apr 03, 2020 6:25 pm
  • Replies 5
  • Views 144
Re: Admin Edit Product (browser back button clears product options)

Thanks for the reply. Ahh so it's cached data. Yes I did test that and on refresh they load fine. Is there a way around this / prevent it from happening? I could refresh the page on back with javascript. How about making all options show as default (convert the select / options into inputs for each ...

Jump to post
  • Wed Apr 01, 2020 6:21 pm
  • Replies 3
  • Views 132
Admin Edit Product (browser back button clears product options)

I'm wondering if this is a problem for anyone else or if anyone knows what would cause this. If I edit a product with many options and save then it adds all these options to the database and works fine. If I save it then push the back button to go back to the edit product page it fills in many optio...

Jump to post
  • Wed Apr 01, 2020 5:23 pm
  • Replies 3
  • Views 132
Re: Making options unique

Wow thank you very much for your help!

Jump to post
  • Wed Apr 01, 2020 5:17 pm
  • Replies 7
  • Views 273
Re: Headings H1 H2 H3

You will need to edit the file but don't worry it is a very simple change.

What page you want to change it on? Home page? Product page? Category page?

Jump to post
  • Wed Apr 01, 2020 2:46 am
  • Replies 5
  • Views 181
Re: Changing shop logo size

Could be that you edited the #logo for the mobile view rather than desktop or class-responsive may have values interfering. You could try removing that class and see what happens. You could just make a new id for it, call it #emmalogo and see if the changes appear. #emmalogo { margin: 0 0 10px 0; he...

Jump to post
  • Wed Apr 01, 2020 2:37 am
  • Replies 3
  • Views 164
[SOLVED] - Making options unique

Anyone done this before?

So if there is already an option blue that another option blue can't be added. What's the easiest way to achieve this?

Allow it to be added but then array_unique the array to only allow one blue? Or is there a better way?

Or any ideas would be great! :-)

Jump to post
  • Wed Apr 01, 2020 2:28 am
  • Replies 7
  • Views 273

Search found 87 matches