![]() |
Price from
Hi
Am looking for the code required for showing the "Our Price from" under variants. Have found it while doing a search for every other version :? but can't get any working for 4.4. Any help would be great. Cheers Richard |
Re: Price from
Anyone pppppppppppplease
|
Re: Price from
Alrighty then. Here's anyone reporting for duty!
I don't use variants, so I'll be less help than wet matches at a cookout, but I'll try. :-) I can't find anything that relates to "Our Price from". I searched the language variables; I even did a full search of all files in 4.1.8 and 4.4.1. Maybe if you explained what you're looking for a little more, or maybe post a link or two where you, in your words, "found it while doing a search for every other version". I'll check back later. :wink: |
Re: Price from
Welcome back Anyone :lol:
The links that i am talking about is http://forum.x-cart.com/showthread.php?t=54969&highlight=amount+products and http://forum.x-cart.com/showthread.php?t=47645&highlight=our+price+from but can't get either to work. Cheers |
Re: Price from
have yu found the template used to display the price section? I've heard that the 4.4 templates are very different from previous versions so I can't really help find it, have you used webmaster mode to find it?
then search through the template to find any reference to price, you may have to do this manually as it may be a language variable with who knows what name, but if you're in the right template it shouldn't be too bad, then look at those previous posts to see what they changed, hth |
Re: Price from
The templates involved are product_details.tpl and products_list.tpl, but their location depends upon which template set you're using.
They are located in the customer/main folder of the template set, OR, one is located there and the other is located in the skin/common_files/customer/main folder. Clear as mud? Warning! There's a product_details.tpl located in the skin/common_files/main folder and it is for the Admin side. You don't wanna mess with that one. :wink: If'n you is looking for some detailed info on how to hack that code you found to work with the templates, I'm back to being an anyone and can't help ya. Sorry. |
Re: Price from
Ok cheers for the replies.
I have tried changing those files with various different combinations but no luck yet. I can put the following line in where it needs to go: Code:
like this: Code:
and that gives me the right look apart from it being on the left when the original is in the centre, but then i try and take out the same code that was doubled up in there but it wipes the whole page out so no product column is there at all. I'll keep trying and will hopefully get there. Cheers all |
Re: Price from
Did you get this working? I am looking for the same thing with no luck.
|
Re: Price from
Yes i did but i will have to look it up as i can't remember what i did now. Will get back as soon as i can look it up.
|
Re: Price from
Thanks I look forward to it.
|
Re: Price from
Hi
Right i think the file you need is skin/YOUR SKIN/customer/main/products_t.tpl Find following (Line 113 approx) (it may be slightly different as i have changed it and can't remember what it was before :?): Code:
{if $product.appearance.has_price} Change to: Code:
{if $product.appearance.has_price} I didn't bother changing it in the product details as it didn't really make sense to, as when you pick a variant it is that price so doesn't need to say price from. Let me know if that works and if not i will look into it further. Cheers Richard PS: Note to the TEAM - this really should be already in the main distribution!! |
All times are GMT -8. The time now is 04:52 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.