Features
← All features
Sales and marketing

Repeat order

A customer repeats an earlier order with one button — the whole order lands in the cart.

Screenshots are coming soon.

The add-on lets a customer repeat an earlier purchase with one button. You place the «Repeat order» button in the customer account yourself: in the order list, on the order page, or in both. The customer taps it, the shop moves the whole order into the cart and opens it. They no longer have to hunt for the same items in the catalogue, and you get repeat sales wherever people buy the same things again: supplies, pet food, household chemicals, spare parts.

The shop takes today's prices with every discount you run: the order stays a snapshot of its own day, while the customer pays by the current catalogue.

What it does

  • Puts a «Repeat order» button wherever you place it: in the order list, on the order page, or in both.
  • Moves the whole order into the cart and opens the cart straight away.
  • Skips items you have taken off sale or that have run out, and when the stock covers only part of the quantity it adds what is left.
  • Brings back the extra services of an item: delivery to the floor, assembly, engraving.
  • Brings back an accessory with its group discount and keeps a purchase counted in packs.
  • Adds the items to what the customer has already picked, or fills the cart from scratch — your choice.
  • Shows the button only to a signed-in customer, and only on their own orders.

What it does not do

It does not ask what to repeat: the order goes into the cart whole. It carries over neither the prices and discounts of that day, nor the promo code, spent points, shipping or payment choice — the customer picks those at checkout again. Promotion gifts are not repeated: the promotion itself hands the gift over when its terms are met again.

What you need

A shop on CartiX 2.5 or newer. After installing, place the button in your storefront: «Design» → «Files» tab → the customer account templates, the line {repeat_order id=$order.number}. The look of the button is changed there too.

What appears in the shop

This is what a shopper sees once it is installed.

  • A «Repeat order» button next to an order in the customer account. Tapping it puts that order's items into the cart and takes the customer there. You place the button in your storefront wherever an order is shown: in the order list — {repeat_order id=$o.number_raw} inside the orders-row__meta block, on the order page — {repeat_order id=$order.number_raw}. Set your own caption like this: {repeat_order id=$order.number_raw label="Buy again"}. You change the look of the button in the design editor, on the «Files» tab. A guest never sees the button: only your own order can be repeated.

Повторить заказ

Покупатель повторяет прежнюю покупку одной кнопкой: весь состав заказа перекладывается в корзину, и ему не приходится разыскивать те же товары по каталогу.

Как вывести кнопку в магазине

Кнопку вы ставите тегом в оформлении магазина: «Дизайн» → вкладка «Файлы», шаблоны личного кабинета покупателя. Пока тега там нет, кнопка покупателю не показывается.

В списке заказов (account/partials/orders-table.html) — внутри блока orders-row__meta, где строка заказа отдаёт место под свои подписи:

{repeat_order id=$o.number_raw}

Строка заказа — сетка из четырёх колонок, поэтому кнопка, поставленная прямо в неё, уедет на отдельную строку.

На странице заказа (account/order.html), рядом с заголовком:

{repeat_order id=$order.number_raw}

Другие варианты:

{* своя подпись *}
{repeat_order id=$order.number_raw label="Купить снова"}

{* свой класс оформления на кнопке *}
{repeat_order id=$order.number_raw class="btn-review"}

Тег сам решает, показываться ли: гостю он не выводит ничего — повторить можно только свой заказ.

Что происходит по нажатию

Магазин складывает товары заказа в корзину и сразу открывает корзину — покупатель видит состав своими глазами, поэтому по дороге ему ничего не рассказывают. Цены берутся сегодняшние, со всеми действующими скидками: заказ остаётся снимком того дня, а покупатель платит по текущему каталогу.

Единственное исключение — в корзину не попало ничего, потому что весь заказ уже не продаётся. Уводить в нетронутую корзину нечем, и тогда рядом с кнопкой появляется строка с объяснением: иначе нажатие выглядело бы сломанным.

Пропускаются:

  • товары, снятые с продажи;
  • варианты, которых больше нет в каталоге;
  • товары, которых не осталось на складе;
  • подарки — их выдаёт акция по своим условиям, и в новой корзине она выдаст их сама, если условия снова сойдутся.

Если остатка хватает не на всё количество, в корзину попадает то, что есть.

Настройки

«Настройки» → «Настройки магазина» → «Плагины» → «Повторить заказ»:

  • Что делать с корзиной, если в ней уже что-то лежит — добавить к отобранному или собрать корзину заново.
  • Переносить дополнительные услуги — подъём на этаж, сборка, гравировка: те же услуги вернутся в корзину и прибавятся к сумме.

Что правится в оформлении

Вид кнопки, её подпись, значок и поведение вы меняете в «Дизайн» → вкладка «Файлы», не трогая само дополнение:

  • templates/plugins/repeat-order/button.html — разметка кнопки;
  • assets/plugins/repeat-order/repeat-order.css — её вид;
  • assets/plugins/repeat-order/repeat-order.js — что происходит по нажатию.

Файлы появляются в оформлении сами при первом показе кнопки. Пока вы их не меняли, обновление дополнения обновит и их — исправленная кнопка доедет до магазина. Как только вы файл поправили, дополнение к нему больше не прикасается: ваша вёрстка остаётся вашей.

Имена опор менять нельзя, иначе кнопка перестанет работать: [data-repeat-order] — сама кнопка, [data-repeat-note] — место для строки на случай, когда в корзину не попало ничего.

1.2.2 23.10.2026

What we fixed

The add-on’s hints, description and guide now name panel sections the same way the menu does. Some paths used to point to places like Settings → Add-ons, which are gone since CartiX 2.131.0.

1.2.1 02.10.2026

What’s changed

The “Repeat order” button works with the new order numbers of CartiX 2.90.0, where an order’s number matches its number in the shop. Customers can still repeat an order from their account, and the tag in your theme needs no changes.

1.2.0 01.10.2026

What's new

The “Repeat order” button sits next to every order in the account, but its styling and script load once and arrive in the shared bundle.

The add-on's styling and scripts are now joined with the theme files into a shared compressed file, so the page loads with fewer requests. This works together with core 2.86.0, so the add-on requires it: update the shop first, then the add-on. How joining works: https://cartixx.com/docs/theme/assets

1.1.1 23.09.2026

What we fixed

You still place the button in your storefront yourself — the add-on description in version 1.1.0 said otherwise, and that was a mistake.

The button no longer looks pale in the order list: it takes the main text colour of your storefront instead of the muted colour of the order row.

1.1.0 23.09.2026

What's new

The «Repeat order» button now appears on its own: in the bundled storefronts it already sits in the order list and on the order page. You no longer need to add the line yourself — and if you did, your edit stays exactly as it is.

Repeating a large order became fast. The shop used to recalculate the cart after every single item, so an order of fifty lines took about four and a half seconds; now it takes less than half a second.

What we fixed

When a repeat broke halfway, the customer could end up with a half-filled cart — and with the «fill the cart from scratch» setting, without their previous cart at all. The repeat now happens as one operation: if it fails, the cart stays exactly as it was, and the customer reads that the repeat did not go through, not that the items are off sale.

In the order list the button was paler than everything around it and read as disabled. It now takes the normal text colour, and the explanation under it is a normal size.

The «nothing could be added» line used to show under every order in the list when a customer's JavaScript did not run. It now appears only under the order they pressed.

1.0.0 23.09.2026

What's new

The «Repeat order» add-on ships its first version. In the customer account an order gets a «Repeat order» button: one tap and the shop moves the whole order into the cart at today's catalogue prices and opens the cart. Customers no longer hunt for the same items again.

An item you have taken off sale, or one that has run out, does not reach the cart; when the stock covers only part of the quantity, the cart gets what is left. The services of an item and the accessory group discount come back with it. In the settings you choose whether to add the items to what the customer has already picked or to fill the cart from scratch.

What to do after installing

Place the button in your storefront: «Design» → «Files» tab → the customer account templates, the line {repeat_order id=$order.number}. Until it is there, customers do not see the button.