Search found 74 matches

Search found 74 matches

Re: Display Products Outside of Opencart

With this query (you can customize easily) you'll be getting 10 latest products from store_id 0, category 230, manufacturer 17 with "keyword" to build nice SEO friendly links to your store. O0 SELECT `oc_product`.`product_id`,`name`,`description`,`image`,`keyword`FROM `oc_product` LEFT JOI...

Jump to post
  • Sat Sep 04, 2021 6:34 pm
  • Replies 5
  • Views 1127
Re: Spam, bots and delete customers without orders

You can use our Spambot Buster tool to prevent spambots from doing fake customer registrations and sending spam mails. Our tool uses an invisible honeypot trap and also checks for required mouse/touch/keyboard events to distinguish between genuine human users and spambots. Beautiful. All my extensi...

Jump to post
  • Sat Sep 19, 2020 5:36 am
  • Replies 7
  • Views 7937
Re: Spam, bots and delete customers without orders

EvolveWebHosting wrote:
Tue Sep 15, 2020 11:31 pm
reCaptcha should stop a lot of this or you can look into a firewall.
Yeah, I try installing Google reCaptcha but couldn't make it work, then the one you see and still like that, they overpass.

Jump to post
  • Sat Sep 19, 2020 5:35 am
  • Replies 7
  • Views 7937
Spam, bots and delete customers without orders

I'm having troubles since in Australia with my Opencart. I'm getting heaps of India/China registrations from fake customers. To avoid overload my customer table I'm erasing all customers without orders: DELETE `oc_customer` FROM `oc_customer` LEFT JOIN `oc_order` ON oc_customer.customer_id = oc_orde...

Jump to post
  • Mon Sep 14, 2020 3:07 am
  • Replies 7
  • Views 7937
Re: Integración de Mailrelay y Opencart 2.0.1.1

Si lo que queréis es subscripciones rápidas lo podeis utilizar asi: https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=38617 Eso mismo lo podeis hacer con cada formulario, de inscripcion de cliente, de pedido... es super facil de implementar, son cuatro lineas de co...

Jump to post
  • Thu Feb 27, 2020 12:27 am
  • Replies 2
  • Views 1202
Re: Amazon Pay and Login with Amazon - ERROR: There are no shipping options to the selected address.

I’m glad I Searched and found this. I too ran into the same problem yesterday. I have 2.3.0.2 version. After iSenseLabs assisted with the QuickFix, the AmazonPay module worked. But the address is the issue at checkout. When you say, Amazon profile, do you mean on Amazon’s platform or in the OpenCar...

Jump to post
  • Sat Sep 14, 2019 10:31 pm
  • Replies 6
  • Views 2725
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

I've tried in module/cart.php after foreach ($this->cart->getProducts() as $product) { : /* Manufacturer Mod */ $product_total = 0; foreach ($this->cart->getProducts() as $product_2) { $product_total = 0; if ($product_2['manufacturer_id'] != $product['manufacturer_id'] && $this->request->get...

Jump to post
  • Thu Jan 17, 2019 11:02 am
  • Replies 21
  • Views 15859
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

Customers may want to be informed whenever this restriction implies versus redirection without considering the Event Management during the process. How can I run my code exactly after the product/s is/are added? Or print the alert since then on $(document).ready(function() ? // $this->redirect($thi...

Jump to post
  • Thu Jan 17, 2019 4:38 am
  • Replies 21
  • Views 15859
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

Using the same code I used before I got the function, in module/cart, after foreach ($this->cart->getProducts() as $product) { /* Manufacturer Mod */ $product_total = 0; foreach ($this->cart->getProducts() as $product_2) { $product_total = 0; if ($product_2['manufacturer_id'] != $product['manufactur...

Jump to post
  • Wed Jan 16, 2019 5:59 pm
  • Replies 21
  • Views 15859
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

This should provide what you need. First of all, thanks for your support/help- I understand the code, but it doesn't make the function and the cart module disappear when I click to view the items that contains. Is that the easiest way to check and redirect (not necessary the warning, but redirect o...

Jump to post
  • Wed Jan 16, 2019 5:05 pm
  • Replies 21
  • Views 15859
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

Really I do not understand what do you want, but first your code is wrong.. Thanks, that's why I'm trying to get help. I want the cart module to redirect the customer when is trying to add a second manufacturer_id product different from manufacturer_id = "0", so the manufacturer_id zero i...

Jump to post
  • Mon Jan 14, 2019 7:10 am
  • Replies 21
  • Views 15859
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

Something like...? /* Manufacturer Mod */ $manufacturers = array_unique($product['manufacturer_id']); if(($product['manufacturer_id'] != 0 && $manufacturers > 2) && $this->request->get['route'] != 'checkout/cart') { $this->redirect($this->url->link('checkout/cart')); }

Jump to post
  • Sun Jan 13, 2019 4:32 am
  • Replies 21
  • Views 15859
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

Unless I make something complicated in the backend like organize a multi-order by manufacturer also, is not reasonable just for logistics. This takes me to another idea that is IF CART HAS MORE THAN 1 MANUFACTURER THEN CREATE SEPARATE ORDERS FOR EACH MANUFACTURER, but I don't know how complex could...

Jump to post
  • Sun Jan 13, 2019 4:06 am
  • Replies 21
  • Views 15859
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

By the way, this function is the same as Aliexpress have, for example. But you can finalize the cart with different manufacturers/shipping methods at the same time and it really increases the sales. I don't want to enable multiple manufacturer orders, as per logistic when I'm out of my desk I just r...

Jump to post
  • Sun Jan 13, 2019 4:01 am
  • Replies 21
  • Views 15859
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

You do not want to count, you want to check only if the manufacturer id = 2 or any other id. Sorry, that's it, partially. I want to check if customer is adding more than one manufacturer_id product/s and manufacturer_id != 0. And stop him from adding product/s that later will have to remove from th...

Jump to post
  • Sun Jan 13, 2019 3:51 am
  • Replies 21
  • Views 15859
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

I understood what you want to to. And checked the code of the version 3 module. But, why 2 different modules when you can have 1 which does both? And why count( .. ) You do not want to count, you want to check only if the manufacturer id = 2 or any other id. And - what i would do, is some backend. ...

Jump to post
  • Sun Jan 13, 2019 3:39 am
  • Replies 21
  • Views 15859
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

Not quite useful to publish products by different manufacturers on your store if customers would not be able to add more than 1 manufacturer per checkout process … Besides, the financial providers do not restrict purchases by manufacturers in anyhow. However, in your catalog/controller/checkout/che...

Jump to post
  • Sun Jan 13, 2019 3:28 am
  • Replies 21
  • Views 15859
Re: Redirect to checkout if more than 2 manufacturer_ids with cart module

Really not sure what you want. Does the mod not working? Or do you want more functionalities? Have seen that yo are offering 2 different versions, 1 with manufacturer id and 1 without. And what for shall the code above? If you count on the manufacturer id, what is the benefit? Manufacture id is an ...

Jump to post
  • Sun Jan 13, 2019 3:10 am
  • Replies 21
  • Views 15859

Search found 74 matches