laravel-woocommerce icon indicating copy to clipboard operation
laravel-woocommerce copied to clipboard

It seems that header total and page variables have changed

Open orukaz opened this issue 4 years ago • 3 comments

Old conf:

WOOCOMMERCE_WP_HEADER_TOTAL="X-WP-Total" WOOCOMMERCE_WP_HEADER_TOTAL_PAGES="X-WP-TotalPages"

New conf:

WOOCOMMERCE_WP_HEADER_TOTAL="x-wp-total" WOOCOMMERCE_WP_HEADER_TOTAL_PAGES="x-wp-totalpages"

orukaz avatar Dec 28 '20 21:12 orukaz

If it changed by original package then you can use it like above.

Codexshaper avatar Dec 29 '20 07:12 Codexshaper

Yep, I configured like that and I am using like that. Maybe we or I should make pull request in default config file, to change these deafult variables? Then the package works out of the box.

orukaz avatar Dec 29 '20 08:12 orukaz

I think there isn't need to change the default functionality but I'll check deeply and update it in next release.

Codexshaper avatar Dec 29 '20 08:12 Codexshaper