last and random product and prices

nicarcola

Avatar: nicarcola

2007-10-29 11:19

I am using v1.4 loaded. I want the last and random product to show prices, normal and or special prices.

Any suggestions?

» Quick.Cart v1.x

noudshoorn@scarlet.nl

merci

No avatar

2007-10-30 08:00

nicarcola - to display price below last product add to file templates/lastProduct.tpl code:

$aList[fPrice$config[currency_symbol]

with random product it should be similar.

nicarcola

Avatar: nicarcola

2007-10-30 11:17

Thanks,

And I use also plugin productattributes, so if there is a special price I want to show the special price. What do I have to change in this case?

noudshoorn@scarlet.nl

merci

No avatar

2007-10-31 09:15

nicarcola - I don't know this plugin very well, so I'm not sure if it will work, but try to add in the same place variable $aList[sFormattedPrices]

nicarcola

Avatar: nicarcola

2007-10-31 16:16

that does not work. But where can I find the content of $aList[sFormattedPrices]?

noudshoorn@scarlet.nl

merci

No avatar

2007-11-02 08:39

nicarcola - you will find it in templates of productattributes plugin

nicarcola

Avatar: nicarcola

2007-11-03 14:44

I know, but I want to know where I can find the code that it generates.

noudshoorn@scarlet.nl

Proxivire

No avatar

2007-11-06 17:43

nicarcola,

It's likely not that simple.
I Think that the code to generate the special price isn't run when a product is accessed through the random products plugin, that's why the variable isn't set.

Getting that to work might be... complicated, I'm gonna have a look at it soon cuz I need it too. I'll post in this thread if I find a solution.

-DmD-

nicarcola

Avatar: nicarcola

2008-01-23 15:25

Do you already have a solution?

noudshoorn@scarlet.nl

nicarcola

Avatar: nicarcola

2008-02-08 12:53

For those who work with v1.4 loaded (the fat version), I have the ramdom and last product working with prices AND special prices. If you are interested I can mail you you the new action-client, last_product.php, last_product.tpl and the same for random product.

noudshoorn@scarlet.nl

Back to top
about us | contact