X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Remove Additional Information from Payment Details Page (https://forum.x-cart.com/showthread.php?t=23704)

Clay Richardson 07-30-2006 07:27 PM

Remove Additional Information from Payment Details Page
 
I have added a few "additional fields" to the "user profiles options". Just general questions for the customer to answer when they register on the site.

These questions also show up when the customer checks out, on the "payment details" page.

Is there any way to prevent this, because it makes the page far too wide?


Regards,
Clay

balinor 07-31-2006 02:55 AM

Remove all this from customer/main/customer_details.tpl:

Code:

{foreach from=$userinfo.additional_fields item=v}{if $v.section eq 'C' || $v.section eq 'P'}
  {$v.title}:              {$v.value}
{/if}{/foreach}

{foreach from=$userinfo.additional_fields item=v}{if $v.section eq 'B'}
  {$v.title}:              {$v.value}
{/if}{/foreach}

{foreach from=$userinfo.additional_fields item=v}{if $v.section eq 'S'}
  {$v.title}:              {$v.value}
{/if}{/foreach}{assign var="is_header" value=""}
{foreach from=$userinfo.additional_fields item=v}{if $v.section eq 'A'}
{if $is_header ne 'Y'}
 
{$lng.lbl_additional_information}:
-----------------
{assign var="is_header" value="Y"}{/if}
 {$v.title}:              {$v.value}
{/if}{/foreach}



All times are GMT -8. The time now is 07:00 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.