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

display_options show each options price @ cart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-24-2009, 11:40 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default display_options show each options price @ cart

Currently my store's cart shows product options but not the price or % associated with it.

Relevant Code:
skin1/customer/main/cart.tpl
Code:
{strip} {include file="modules/Product_Options/display_options.tpl" options=$product.product_options} {/strip}

skin1/modules/product_options/display_options.tpl
Code:
{* $Id: display_options.tpl,v 1.14 2008/12/05 12:54:17 joy Exp $ vim: set ts=2 sw=2 sts=2 et: *} {if $options && $force_product_options_txt eq ''} {if $is_plain eq 'Y'} {if $options ne $options_txt} {foreach from=$options item=v} {$v.class}: {$v.option_name} {/foreach} {else} {$options_txt} {/if} {else} {if $options ne $options_txt} <table width="100%" cellspacing="0" class="poptions-options-list2" summary="{$lng.lbl_product_options|escape}"> {foreach from=$options item=v} <tr> <td>{$v.class|escape}:</td> <td>{$v.option_name|escape}</td> {*************************} <td> {from=$v.options item=o} {strip} {if $v.is_modifier eq 'Y' && $o.price_modifier ne 0} ( {if $o.modifier_type ne '%'} {include file="currency.tpl" value=$o.price_modifier display_sign=1 plain_text_message=1} {else} {$o.price_modifier}% {/if} ) {/if} {/strip} </td> {**********************} </tr> {/foreach} </table> {else} {$options_txt|escape|replace:"\n":"<br />"} {/if} {/if} {elseif $force_product_options_txt} {if $is_plain eq 'Y'} {$options_txt|escape:"html"} {else} {$options_txt|replace:"\n":"<br />"} {/if} {/if}

I've marked the section i edited with comment lines.
I don't get any errors, but I also don't get any results...

www.speartech.net/shop/home.php?shopkey=testing
add a home pc to the cart and you'll see what I'm saying.

Thanks in advance!
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote
  #2  
Old 03-27-2009, 04:40 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: display_options show each options price @ cart

"add a home pc to the cart and you'll see what I'm saying."

I never did see a "add to cart" button, just a seemingly endless string of "configure" buttons that seem to open a new product with more "configure" buttons. I gave up.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 03-27-2009, 05:29 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Re: display_options show each options price @ cart

Well, that's not the user experience I was hoping for...

You select to add a "Case", choose from the list by hitting "details", and then you will see an add to configuration button.

Add the case. Rinse and repeat for the other items required (only the first page, case, monitor, keyboard, mouse).

click continue on the next two "step" pages at the bottom.

On summary page, click "add to cart".

Then you'll see what I'm saying. =/

I'd prefer an ajax configurator, but haven't seen a mod for it
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
Reply With Quote
  #4  
Old 03-27-2009, 05:34 AM
 
Xel Xel is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 82
 

Default Re: display_options show each options price @ cart

I actually do intend to remove the other 2 step pages. I think I'll make case step 1, monitor step 2, keyboard and mouse step 3.

Then summary, no accessories or software steps.

Does that sound like a better user experience?
__________________
Dustin Spears

www.SpearTech.net
X-Cart Gold
Version: 4.2.0
Add Ons: Product Configurator,X-RMA, X-AOM
Third Party Mods: None (Yet )
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 07:11 AM.

   

 
X-Cart forums © 2001-2020