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

Requesting help on a smarty command

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-13-2007, 01:00 PM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Can someone identify or find a smarty tag for me?

12 different categories of products
All have product price modifiers.
Each category has different prices (but all the products in that category are the same price).

I currently have a "random products" mod (that I got from these forums) displaying products on my front page. I want on my front page in the table of the random products, where the price is shown. To say "Priced from $X.xx" or just "From $X.xx"

Now I know this will have to involve smarty tags to call upon that particular products lowest price. I'm sure it has to call upon the specific category, and then the lowest "price modifier" etc. Currently the price says "Enter your price !" That is because I have the product price at $0.00 and using the the product modifier for customers to choose their options & price.

I have only done one product while I'm waiting to hear from Qualiteam about the bug that I found of no "update" button on the "exceptions" when trying to copy the checkboxed fields to additional products. You might have to refresh the page a few times to see an XBox 360 to see the "Enter your price !"
Home Page
Product Details
When you go to the category page of xBox 360 they all say $13.95. - I want them to say "From $6.95" (and each different product will say their lowest price)

Can someone help me with this? or if it is too much to do/instruct as a freebie, how much would something like this cost to have write for me? - (PM me)

Doug
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote
  #2  
Old 11-14-2007, 02:50 AM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Re: Requesting help on a smarty command

After looking around I think I have found what to change, but I don't know what to change it to. Can someone of more intelligence help me out here?

When displaying the product price, according to products_t.tpl, it states:
Code:
{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}

I'm guesing the value=$products[product].taxed_price is what needs to be changed to something like:
Code:
value=$o.price_modifier display_sign=1 plain_text_message=1 or $v.options item=o or product_options[`$v.classid`]
I have no idea....

In product options the price modifier id (orderby) number is 3, thats the lowest price I have set for my products. Thats what I want it to have displayed (called upon) in the products_t.tpl

Does anyone know the "value=" for the product options price modifier orderby #3 would be?

When viewing my main page keep refreshing till you see an Xbox 360, you will see it says $0.00. But if you go to the actual Xbox 360 category you will see they are now displayed as $13.95? That I don't understand, but anyways, that is actually the product option price modifier orderby #1. I want this to display as orderby #3 because its my lowest price. Yes I know I can change my orderby #'s but I do not want to because when a customer goes to the actual product. I want the Highest price to be the first price option like it is now.


Thanks,

Doug
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote
  #3  
Old 11-14-2007, 08:55 PM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Re: Requesting help on a smarty command

Many Many thanks to TelaFirma for helping me with this !!!!
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote
  #4  
Old 11-15-2007, 02:51 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default Re: Requesting help on a smarty command

Your welcome...
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 06:50 AM.

   

 
X-Cart forums © 2001-2020