Search found 38 matches

Search found 38 matches

Block Countries Using Php

Hi all, i wanted to block some countries from my site using php and found this code on a site (SITE IS IN THE README IN THE ZIP IP_FILES FOLDER) It seems to work fine but can anyone add to it.. i added the redirect to yahoo myself but wanted to redirect it to a page in my site but when i add that it...

Jump to post
  • Tue Mar 09, 2021 12:51 am
  • Replies 1
  • Views 145
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

ADD Creative did you got it to work? can you share your code and where to added it thanks. Assuming your 2 stores are something like store1.example.com and store2.example.com. Which they share the same main domain of example.com. Add the following in your PHP settings, that's in php.ini, user.ini o...

Jump to post
  • Mon Feb 22, 2021 8:14 pm
  • Replies 31
  • Views 731
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

paulfeakins
I sell adult products and none adult and i dont want them in the same store i want to give my customers a link in my main none adult to the adult.

Jump to post
  • Mon Feb 22, 2021 7:51 pm
  • Replies 31
  • Views 731
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

ADD Creative did you got it to work? can you share your code and where to added it thanks.

Jump to post
  • Mon Feb 22, 2021 7:06 pm
  • Replies 31
  • Views 731
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

Thanks for your help anyways ill just have to put a note if users of my main site click the link to my other store to login with the same details as main site. Still think theres got to be a way lol The reason why i want it this way is because i sell adult and none adult items and dont want them tog...

Jump to post
  • Mon Feb 22, 2021 6:33 am
  • Replies 31
  • Views 731
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

mikeinterserv none of it worked anyway lol

So back to the start... there as got to be a way to do it if you can share baskets why not session its mad lol

Jump to post
  • Mon Feb 22, 2021 5:56 am
  • Replies 31
  • Views 731
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

But it works perfect how iv done it lol $this->session->start($session_id); setcookie($this->config->get('session_name'), $this->session->getId(), ini_get('session.cookie_lifetime'), ini_get('session.cookie_path'), ini_get('session.cookie_domain')); setcookie($this->config->get('session_name'), $thi...

Jump to post
  • Mon Feb 22, 2021 4:42 am
  • Replies 31
  • Views 731
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

Think i got it to work. in catalog/controller/startup/session.php after this setcookie($this->config->get('session_name'), $this->session->getId(), ini_get('session.cookie_lifetime'), ini_get('session.cookie_path'), ini_get('session.cookie_domain')); i added setcookie($this->config->get('session_nam...

Jump to post
  • Mon Feb 22, 2021 4:34 am
  • Replies 31
  • Views 731
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

Hi, i dont want to post my site here. The sharing of baskets thats fine if i set a product to both stores then add to basket in main store it will show in the basket of the other store. Its the sharing of login sessions i need to get working i dont want my customers to have to login twice when they ...

Jump to post
  • Mon Feb 22, 2021 3:19 am
  • Replies 31
  • Views 731
Multi Store Same Session Once Logged In oc 3.0.3.6

oc 3.0.3.6 Hi all hope someone can help me on this. Iv set up multi store and want to use the same session once logged in to any of them. So if i login to www.mywebsite.com then click a link to www.2.mywebsite.com and still be logged in on the second store. At the moment if i login to the main store...

Jump to post
  • Mon Feb 22, 2021 1:09 am
  • Replies 31
  • Views 731
Re: Block Countries by Geo Code (BIN Attack)

Hi, try this site

https://lonewolfonline.net/blocking-web ... untry-php/

I made one using this but added a bit to it i will post my one if anyone wants it.

Jump to post
  • Sun Jan 24, 2021 1:37 am
  • Replies 10
  • Views 689
Re: Who can create Klarna payments for OC 3.0.3.2?

Hi, that link just brings me back to this pages lol

Jump to post
  • Sat Jan 16, 2021 1:32 am
  • Replies 21
  • Views 1634
Re: Who can create Klarna payments for OC 3.0.3.2?

Hi all, as anyone managed to get klarna to work with oc 3.0.3.6 at all. Iv got most of it to work but when i go to ( index.php?route=extension/payment/klarna_checkout) its not showing just shows the header and footer also when i checked the error log file its showing the below error after going on t...

Jump to post
  • Sat Jan 16, 2021 12:14 am
  • Replies 21
  • Views 1634
Re: Loading image using json

It dont mater iv done it :-)

Jump to post
  • Mon Jun 25, 2018 7:03 am
  • Replies 2
  • Views 244
Loading image using json

Hi all, does anyone know how i can add a loading image to the json below ... thanks. function submitgiftproduct(gift_product_id) { $.ajax({ url: 'index.php?route={{ giftprod_modpath }}/applygiftprod', type: 'post', data: 'gift_product_id=' + encodeURIComponent(gift_product_id), dataType: 'json', suc...

Jump to post
  • Mon Jun 25, 2018 5:12 am
  • Replies 2
  • Views 244
Re: Only show parent categories and subcategires of the category your in, in the left column

Iv sorted it :-)

Now when im on a category it will only show the parent and the sub categories under that parent.
Maybe ill add a show all categories then the menu will expand showing all the rest :-)

Jump to post
  • Tue Jun 19, 2018 7:30 pm
  • Replies 6
  • Views 629

Search found 38 matches