Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Options on Payment Detail Page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-01-2007, 12:00 PM
 
nikki nikki is offline
 

Member
  
Join Date: Mar 2007
Posts: 28
 

Exclamation Product Options on Payment Detail Page

I would prefer, as a customer, to see that the options and variants I selected show up on the payment detail page. Is this possible? When I add the item to the cart I can select my options and see them there. When I go to checkout only the base SKU/Product name appears without the selected options.
__________________
x-cart 4.1.9
www.lozierglassstudio.com
Reply With Quote
  #2  
Old 04-01-2007, 02:47 PM
 
stevekem stevekem is offline
 

Senior Member
  
Join Date: Dec 2006
Posts: 111
 

Default Re: Product Options on Payment Detail Page

Open file "/skin1/customer/main/cart_contents.tpl" and find the following below:

PHP Code:
<td>{$products[prod_num].product|truncate:30:"...":true}</td

Change to:

PHP Code:
<td>{$products[prod_num].product|truncate:30:"...":true}
{include 
file="modules/Product_Options/display_options.tpl" options=$products[prod_num].product_options}</td
__________________
X-Cart Gold v4.4.1
Reply With Quote
  #3  
Old 04-02-2007, 03:42 AM
 
nikki nikki is offline
 

Member
  
Join Date: Mar 2007
Posts: 28
 

Default Re: Product Options on Payment Detail Page

Thank you,
I made the changes, see below, but still don't see the option listed in the payment details area. Perhaps I mis-typed something?

<td>{$product[prod_num].product|truncate:30:"...":true}
{include file="modules/product_options/display_options.tpl"options=$products[prod_num].product_options}</td>
__________________
x-cart 4.1.9
www.lozierglassstudio.com
Reply With Quote
  #4  
Old 04-02-2007, 06:11 AM
 
stevekem stevekem is offline
 

Senior Member
  
Join Date: Dec 2006
Posts: 111
 

Default Re: Product Options on Payment Detail Page

Hello,

Just to clarify, you are trying to show the options selected for each product right below the product title in the shopping cart and throughout checkout, like attached pic, correct?





Quote:
Originally Posted by nikki
Thank you,
I made the changes, see below, but still don't see the option listed in the payment details area. Perhaps I mis-typed something?

<td>{$product[prod_num].product|truncate:30:"...":true}
{include file="modules/product_options/display_options.tpl"options=$products[prod_num].product_options}</td>
Attached Thumbnails
Click image for larger version

Name:	options.gif
Views:	92
Size:	21.9 KB
ID:	308  
__________________
X-Cart Gold v4.4.1
Reply With Quote
  #5  
Old 04-02-2007, 06:18 AM
 
nikki nikki is offline
 

Member
  
Join Date: Mar 2007
Posts: 28
 

Default Re: Product Options on Payment Detail Page

Thank you again,

Yes that's correct. Just like your example.
__________________
x-cart 4.1.9
www.lozierglassstudio.com
Reply With Quote
  #6  
Old 04-02-2007, 06:28 AM
 
stevekem stevekem is offline
 

Senior Member
  
Join Date: Dec 2006
Posts: 111
 

Default Re: Product Options on Payment Detail Page

Have you tried clearing your cache?





Quote:
Originally Posted by nikki
Thank you again,

Yes that's correct. Just like your example.
__________________
X-Cart Gold v4.4.1
Reply With Quote
  #7  
Old 04-02-2007, 06:31 AM
 
nikki nikki is offline
 

Member
  
Join Date: Mar 2007
Posts: 28
 

Default Re: Product Options on Payment Detail Page

Yes I did.
__________________
x-cart 4.1.9
www.lozierglassstudio.com
Reply With Quote
  #8  
Old 04-02-2007, 09:47 AM
 
stevekem stevekem is offline
 

Senior Member
  
Join Date: Dec 2006
Posts: 111
 

Default Re: Product Options on Payment Detail Page

Hello Nikki,

It looks like the code you had copied has some mis-spellings in it. Try copying the code I posted at the beginning of this message and pasting it in your file at the appropriate lines. Make sure everything is EXACTLY right including letters that are capitalized. If you compare the code I posted and the code you posted, you can see the incorrect parts (ie. Product_Options should be capitalized, etc). Let me know if it works!




Quote:
Originally Posted by nikki
Yes I did.
__________________
X-Cart Gold v4.4.1
Reply With Quote
  #9  
Old 04-02-2007, 11:25 AM
 
nikki nikki is offline
 

Member
  
Join Date: Mar 2007
Posts: 28
 

Default Re: Product Options on Payment Detail Page

Thank you,

I have fixed my errors and pasted it exactly as you directed. Still don't see the options during checkout.

<td>{$products[prod_num].product|truncate:30:"...":true}
{include
file="modules/Product_Options/display_options.tpl" options=$products[prod_num].product_options}</td>
__________________
x-cart 4.1.9
www.lozierglassstudio.com
Reply With Quote
  #10  
Old 04-02-2007, 12:36 PM
 
stevekem stevekem is offline
 

Senior Member
  
Join Date: Dec 2006
Posts: 111
 

Default Re: Product Options on Payment Detail Page

Could you post the entire contents of this file on here to review?

/skin1/customer/main/cart_contents.tpl



Quote:
Originally Posted by nikki
Thank you,

I have fixed my errors and pasted it exactly as you directed. Still don't see the options during checkout.

<td>{$products[prod_num].product|truncate:30:"...":true}
{include
file="modules/Product_Options/display_options.tpl" options=$products[prod_num].product_options}</td>
__________________
X-Cart Gold v4.4.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:09 AM.

   

 
X-Cart forums © 2001-2020