Donner Posted September 5, 2010 Share Posted September 5, 2010 i tryied to implenment a fix to hide prices from costumers not logged in. it works.but now i have 2x the prices in the list, so the changes to the TPL files have some errorcan any one sort it ?shop 1.3.1 Link to comment Share on other sites More sharing options...
jhnstcks Posted September 5, 2010 Share Posted September 5, 2010 Can you post your entire product-list.tpl file here please, or attach it. Link to comment Share on other sites More sharing options...
Donner Posted September 5, 2010 Author Share Posted September 5, 2010 i dont know why, but i cant attach itthis is the link to the file.,www.laptopforum.dk/product-list.rari will remove the file when its done, for safty reason. Link to comment Share on other sites More sharing options...
jhnstcks Posted September 5, 2010 Share Posted September 5, 2010 File not found. This forum doesnt accept rar files, you will need to use zip format. Link to comment Share on other sites More sharing options...
Donner Posted September 5, 2010 Author Share Posted September 5, 2010 how about this one ?http://www.laptopforum.dk/product-list.tpl Link to comment Share on other sites More sharing options...
jhnstcks Posted September 5, 2010 Share Posted September 5, 2010 I am unable to access anything of that domain Link to comment Share on other sites More sharing options...
Donner Posted September 5, 2010 Author Share Posted September 5, 2010 it will not allow me to attach the TPL file here.email i can send to ? Link to comment Share on other sites More sharing options...
jhnstcks Posted September 5, 2010 Share Posted September 5, 2010 Instead of using a .rar file for compresion use .zip and the forum will allow attachments. Link to comment Share on other sites More sharing options...
Donner Posted September 5, 2010 Author Share Posted September 5, 2010 sorry i didnt know rar had zip option product-list.zip Link to comment Share on other sites More sharing options...
jhnstcks Posted September 5, 2010 Share Posted September 5, 2010 I cant test the file as it breaks my test site for some reason. But just above the {if $logged} you have code that relates to price reduction, try moving {if $logged} to line 13 so it is above {if $product.on_sale} Link to comment Share on other sites More sharing options...
Donner Posted September 5, 2010 Author Share Posted September 5, 2010 trying, will post result Link to comment Share on other sites More sharing options...
Donner Posted September 5, 2010 Author Share Posted September 5, 2010 Cant test it now, i need to make a new thread with another issue first.i just moved my DB to new host, but i never try it before so it give me problem.Invalid loadConfiguration() SQL query!i will post when i test this solution Link to comment Share on other sites More sharing options...
Donner Posted September 6, 2010 Author Share Posted September 6, 2010 Hi i changed the file, moved to code to line 13but have same problem 2 prices are shown,the "tilbud" and "på lager" is sitting a quite weird place now.Any idea how to solve it ?//Jesper product-list.zip Link to comment Share on other sites More sharing options...
Paul Sarstiuc Posted September 6, 2010 Share Posted September 6, 2010 I have the same issue: the price is shown twice in my store; How can I fix this? Link to comment Share on other sites More sharing options...
Donner Posted September 6, 2010 Author Share Posted September 6, 2010 basicly i understand i just need to delete some text in the products-list.but im not a programmer, i cant understand any of it...so it make it more difficult to edit hehe Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now