Discussions

shipping displaying at the wrong place in order (and shipping service not displayed)

problem :
the classical sequence of URL on order checkout with shipping is :
1 --> checkout/*
2 --> checkout/*/shipping (with shipping service)
3 --> checkout/*/review

mine is now :
1 --> checkout/*
2 --> checkout/*/review

and when i go to checkout/*/shipping (works only when i begin an order) the URL becomes checkout/* and i get my shipping service right under the cart and before billing/shipping informations.
what can i do to have the "good sequence" back ?

i presume that previous modules (i uninstalled - cf infra) caused that problem.
<--break-->

informations
- i have modules commerce_shipping 2.x and commerce_flat_rate
modules checked : flat rate, shipping and shipping UI
(cron, caches cleaned and so on)

- NOTE : some other modules have been previously installed and uninstalled
commerce_checkout_progress-7.x-1.2
commerce_checkout_redirect-7.x-1.x-dev
commerce_feeds-7.x-1.2
commerce_postal_code_filter-7.x-1.1

and this patch added before uninstallation:
diff --git a/commerce_checkout_progress.module b/commerce_checkout_progress.module
index 663ae49..fb22b5e 100644
--- a/commerce_checkout_progress.module
+++ b/commerce_checkout_progress.module
@@ -170,11 +170,13 @@ function theme_commerce_checkout_progress_list($variables) {
// Active page and next pages should not be linked.
$visited = FALSE;
}
- if ($page_id === $items[$current_page]['prev_page']) {
- $class[] = 'previous';
- }
- if ($page_id === $items[$current_page]['next_page']) {
- $class[] = 'next';
+ if (!empty($items[$current_page])) {
+ if ($page_id === $items[$current_page]['prev_page']) {
+ $class[] = 'previous';
+ }
+ if ($page_id === $items[$current_page]['next_page']) {
+ $class[] = 'next';
+ }
}
// @TODO: Calculate width based on 100 / qty of pages.
$class[] = $page_id;

Posted: Aug 22, 2012

Comments

corbin on August 22, 2012

here is the answer
but in the french administration, the translation is wrong because we get "Paramètres de paiement", that is to say "Payment settings" instead of "Checkout settings" ... muche more difficult to find it !!!
i go right now to the french translation glossary