RKR Compra en 1 clic: compra en un clic con la dirección después del pago en PrestaShop
- Un año de soporte técnico y actualizaciones de por vida; desde el segundo año, el soporte se amplía por 27,20 €/año e incluye atender tus ideas de mejora generales del módulo.
- Se renueva sola; la cancelas cuando quieras, sin permanencia.
- Un año de soporte técnico y actualizaciones de por vida; después, el soporte termina (con la suscripción se amplía por 27,20 €/año).
- Un solo pago, sin cobros automáticos.
Deja que tus clientes compren desde la ficha, el carrito o el listado en un modal, y den la dirección de envío después del pago desde un portal con enlace que caduca o desde Mi cuenta. Al llegar la dirección, el envío se recalcula con las reglas nativas. Recordatorios, 23 temas y estadísticas. Probado en PrestaShop 1.7.8.11, 8.2.8, 9.0.0 y 9.2.1. Un módulo Rekire.
Compatible con PrestaShop 1.7.8 a 9.2.
Compra en 1 clic
Cada campo del checkout es una venta que se te escapa.
El cliente ya ha decidido comprar y se encuentra con un formulario largo que pide una dirección que aún no necesita dar. RKR Compra en 1 clic le deja comprar desde la ficha, el carrito o el listado en un modal, con la dirección de envío para después del pago si prefiere.
/ Compras desde donde ya están mirando
El botón «Comprar en 1 clic» aparece en la ficha de producto, en el carrito y en los listados. Abre un modal con el estilo de tu tema: nombre, email, DNI/NIE, teléfono y una nota opcional. La dirección de envío se puede escribir ahí mismo, elegir entre las guardadas o dejarla para después del pago.
/ El pago, sin pasos de más
/ La dirección llega después, y el envío se recalcula bien
Si el cliente deja la dirección para más tarde, la completa desde un portal con un enlace que le llega por email y que caduca (30 días por defecto, ajustable), o entrando con la referencia del pedido y su email. Si tiene cuenta, también desde «Mis pedidos de 1 clic» en Mi cuenta.
Cuando la dirección llega, el módulo recalcula el envío con las reglas nativas de PrestaShop (zona, rangos de precio o peso, gastos de manipulación, envío gratis), actualiza totales, transportista y factura, y el pedido pasa al estado que le correspondería a su pasarela.
Una cuenta registrada nunca se usa sin iniciar sesión: si el email ya pertenece a un cliente, el módulo le pide que entre antes de comprar.
/ Transporte y recordatorios
/ Tú decides dónde sí y dónde no
Puedes restringir el botón por categorías o excluir productos concretos. Para un catálogo donde el 1 clic no tiene sentido, lo apagas ahí y lo dejas donde vende.
/ Un panel completo, sin salir del back office
/ Seguridad y lo que preocupa
Los enlaces del portal no se guardan en claro y caducan, hay protección contra doble clic, y los formularios llevan token anti-CSRF, límite de peticiones y campo trampa contra bots. Es multitienda y viene en español e inglés.
Si tienes instalado RKR Select City, su selector de ciudad con búsqueda y la validación internacional de teléfono se activan solos dentro del modal y del portal. Es opcional.
Para los recordatorios, llama a la URL del cron que muestra la pestaña General cada hora, o usa el módulo nativo «Cron tasks manager». Sin cron, se ejecutan una vez al día al abrir el back office. Licencia AFL-3.0.
Compatible con PrestaShop 1.7.8 a 9.2
Desarrollado y mantenido por REKIRE
-
Referenciarkroneclickinstantbuy
v1.1.1
Added
- First published version with the merge of purchases into a pending order introduced in 1.1.0: a customer who buys again while his one-click order still waits for the shipping address gets the new products added to that order (one shipment, one address, one payment) instead of a second order. Settings in Checkout & Modal → Pending order merging.
Fixed
- The front office showed a stray "Script completado." text on every page: it was left at the end of the front office assets template.
upgrade/upgrade-1.1.0.phpremoved: upgrade functions are global, and a shop where another module had already loaded a file with the same function name reported "cannot be upgraded" and skipped it. The module upgrades its schema by itself (RkrOcibDb::ensureSchema(), run once per version) and the new settings have runtime defaults, so no upgrade script is needed.- The merge of purchases never ran: the row lock was read with
Db::getRow(), which appends its ownLIMIT 1afterFOR UPDATE(SQL syntax error), so every purchase fell back to a new pending order. - Merged units left
stock_available.quantitywithout reachingreserved_quantity(the physical stock stopped adding up) and the tax lines of a grown order line were not updated: the merge now ends with the same two callsPaymentModule::validateOrder()makes (updateOrderDetailTax()and the reserved / physical stock synchronisation). - Orders with cart rules (discounts, vouchers, free shipping) are no longer merged: their stored discount values would not match totals recomputed from the grown cart.
- Automatic cart rules (a welcome voucher, a threshold discount) that
Cart::updateQty()applies by itself landed on the cart of the merged order: the order total dropped by a discount the order never recorded nor consumed. They are removed from the order cart and no discount is read from it. - Purchases with hidden products added by other modules (payment fee, shipping protection, gift lines) and orders whose cart was split into several orders are no longer merged: the hidden lines would be charged twice and the totals would add the other orders' products. If another module's cart hook changes the order cart while merging, the cart is put back and the purchase gets its own order.
- The merge no longer runs inside one long SQL transaction: the stock and cart hooks of other modules waited up to 50 s on the locked rows (and some committed it halfway). A named lock per order (
GET_LOCK) keeps two purchases from merging into the same order at once. A failure once the order is being edited is logged asmerge_partialand answered with an error, never with a second order for the same products.
Security
- Scope "same email address": typing the email of somebody else's pending guest order no longer gives access to its address portal (the redirect wrote the lookup cookie of that order), nor shows its reference or total. A visitor that does not own the order is told the link was emailed, and the pending address email always goes to the owner of the email.
- The scope email is the one of the resolved account, never the one typed in the modal.
v1.1.0
Added
- Merge of purchases into a pending order: when a customer or guest buys again while one of his one-click orders is still waiting for the shipping address, the new products are added to that order (order details, stock movements, cart of the order and totals) instead of creating a second one. The customer lands on the address portal of the original order and can receive the pending address email again with the updated total.
- New settings in Checkout & Modal → Pending order merging: scope (disabled / same customer account / same email address), merge window in hours, maximum merges per order, same payment method requirement, maximum merged amount and email resend.
merge_countcolumn on the module records, shown in the One Click orders tab, on the back office order card and in the customer account panel;order_merged/submit_mergedlog events; merged revenue added to the statistics of the original order day.- Guide section "Merging purchases into a pending order" and Spanish translations of every new string.
upgrade/upgrade-1.1.0.phpplus an in-place schema self-heal (RkrOcibDb::ensureSchema()) for shops upgraded by replacing the module folder.
Fixed
product_listof the module records stored the available stock instead of the purchased quantity:Cart::getProducts()rows expose the ordered amount ascart_quantity(quantityisIFNULL(stock.quantity, 0)in the core query). The summary written on every purchase — and on every merge — is now correct.- The merge never ran: the row lock was read with
Db::getRow(), which appends its ownLIMIT 1afterFOR UPDATE(SQL syntax error), so every purchase fell back to a new pending order. - Merged units left
stock_available.quantitywithout reachingreserved_quantity(the physical stock stopped adding up) and the tax lines of a grown order line were not updated: the merge now ends with the same two callsPaymentModule::validateOrder()makes (updateOrderDetailTax()and the reserved / physical stock synchronisation). - Orders with cart rules (discounts, vouchers, free shipping) are no longer merged: their stored discount values would not match totals recomputed from the grown cart.
- The template of the front office assets ended with a stray "Script completado." text.
Security
- Scope "same email address": typing the email of somebody else's pending guest order no longer gives access to its address portal (the redirect wrote the lookup cookie of that order), nor shows its reference or total. A visitor that does not own the order is told the link was emailed, and the pending address email always goes to the owner of the email.
- The scope email is the one of the resolved account, never the one typed in the modal.
- Merges run inside one SQL transaction with the record row locked (
SELECT ... FOR UPDATE) and re-check the pending flag, so two simultaneous submissions can never merge twice.
Compatibility
- The merge is implemented with legacy object model classes only (
Cart::updateQty,OrderDetail::createList,StockAvailable::updateQuantity): identical behaviour on PrestaShop 1.7.8 → 9.2 and no dependency on the Symfony container, which is not reachable from the front office on PrestaShop 9.x.
v1.0.3
Fixed
- Statistics: titles with "&" no longer show "&".
4 otros productos de la misma categoría
Productos vistos
También podría interesarte
Preguntas y respuestas
-
¿Dónde aparece el botón y qué datos pide?
0-
El botón «Comprar en 1 clic» aparece en la ficha de producto, en el carrito y en los listados, y abre un modal con el estilo de tu tema que pide nombre, email, DNI/NIE, teléfono y una nota opcional. La dirección se puede escribir ahí, elegir entre las guardadas o dejarla para después del pago. Puedes restringir el botón por categorías o excluir productos.
-
-
Si el cliente da la dirección después, ¿cómo se calcula el envío?
0-
El cliente completa la dirección desde un portal con un enlace que le llega por email y que caduca (30 días por defecto), entrando con la referencia del pedido y su email, o desde «Mis pedidos de 1 clic» en Mi cuenta. Al llegar, el módulo recalcula el envío con las reglas nativas de PrestaShop (zona, rangos de precio o peso, manipulación, envío gratis), actualiza totales, transportista y factura, y el pedido pasa al estado que le corresponde según su pasarela.
-
-
¿Funciona con todas mis formas de pago?
0-
Con transferencia, cheque y contra reembolso el pedido se crea al momento en el estado «Pendiente de dirección ONE CLICK». Con las demás pasarelas, el cliente va directo al paso de pago del checkout nativo de PrestaShop con la pasarela elegida ya marcada.
-
-
¿Qué pasa si el email ya pertenece a un cliente registrado?
0-
Una cuenta registrada nunca se usa sin iniciar sesión: si el email ya es de un cliente, el módulo le pide que entre antes de comprar. Además, los enlaces del portal no se guardan en claro y caducan, y los formularios llevan token anti-CSRF, límite de peticiones y campo trampa contra bots.
-
-
¿Cómo recuerdo al cliente que me falta su dirección?
0-
El módulo envía emails automáticos de recordatorio a quien no ha dado la dirección, con un máximo de avisos, y te pone una alarma en el back-office cada N días para reenviar, posponer o abrir el pedido. Para los recordatorios, llama cada hora a la URL del cron de la pestaña General o usa el módulo nativo «Cron tasks manager»; sin cron se ejecutan una vez al día al abrir el back-office.
-
-
¿En qué versiones se ha probado?
0-
Se ha probado de extremo a extremo en PrestaShop 1.7.8.11, 8.2.8, 9.0.0 y 9.2.1, con PHP 7.4 a 8.5. Es multitienda y viene en español e inglés. Si tienes RKR Select City, su selector de ciudad y la validación internacional de teléfono se activan solos dentro del modal y del portal; es opcional.
-