Reset order counter and calculate total weight

Phoca Cart - complex e-commerce extension
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Reset order counter and calculate total weight

Post by Nidzo »

1. I made store using Phoca Cart on my localhost. That process required testing orders. I am aware that order counter will continue from last order when I put site online. So the first order will not be for example 0001. How can I reset order counter?

2. Is it possible to calculate total weight of order and display it in checkout view?
Every item has weight displayed in item view. The delivery price depends on the weight of the shipment, so customers could calculate the shipping cost on the post office site if they knew the total weight.

Thanks!
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: Reset order counter and calculate total weight

Post by Nidzo »

1. Truncating order tables in phpMyAdmin will reset counter.

Still struggling with my second question ⁉️ ☝🏻
User avatar
Shuffle
Phoca Member
Phoca Member
Posts: 35
Joined: 02 Dec 2021, 19:49

Re: Reset order counter and calculate total weight

Post by Shuffle »

Hi Nidzo,
to 1) additionally maybe read this:
viewtopic.php?f=44&t=62779&sid=4c3f7820 ... 64f3a1d092
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: Reset order counter and calculate total weight

Post by Nidzo »

Shuffle wrote: 20 Jan 2022, 10:38 Hi Nidzo,
to 1) additionally maybe read this:
viewtopic.php?f=44&t=62779&sid=4c3f7820 ... 64f3a1d092
Thanks Shuffle. That thread helped me alot!
Post Reply