View Single Post
  #3  
Old 05-19-2005, 10:37 AM
 
jb5ep jb5ep is offline
 

Advanced Member
  
Join Date: Apr 2005
Location: U.K.
Posts: 65
 

Default

Zaja,

Many thanks - works a treat. All I had to do in addition was change the order of a couple of the statements. For any folk who are interested, here's the code i'm using to determine where the customer is in the selling process. Guess you could also use images rather than text:

Add this to the top of /customer/home_main.tpl :

Code:
{* JB - Hack to display progress - start *} {if $main eq "catalog"} <P class="mainheading">Shop (step 1 of 7)</P> {elseif $main eq "product"} <P class="mainheading">Shop (step 1 of 7)</P> {elseif $main eq "ezupsell"} <P class="mainheading">Recommendations (step 2 of 7)</P> {elseif $main eq "cart"} <P class="mainheading">Checkout (step 3 of 7)</P> {elseif $main eq "anonymous_checkout"} <P class="mainheading">Your details (step 4 of 7)</P> {elseif $smarty.get.paymentid ne "" and $smarty.get.mode eq "checkout"} <P class="mainheading">Payment details (step 6 of 7)</P> {elseif $main eq "checkout"} <P class="mainheading">Payment method (step 5 of 7)</P> {elseif $main eq "order_message"} <P class="mainheading">Your order is confirmed (step 7 of 7)</P> {/if} {* JB - Hack to display progress - end *}
Cheers,
__________________
X-Cart 4.0.17
ezUpsell
PHP 4.4.1
MySQL 4.0.25-standard
Apache 1.3.34
Linux
Reply With Quote