Jump to content

adding price and reduced price in the new products module


Recommended Posts

hi :lol: ,

 

i have a problem

 

I want to add the price an the reduced price from a product into the new products module.

I tried it by myself but at this time without results.

Perhaps you can help me how i realize that.

 

That would be very nice, if anyone have the right code for that.

 

I know how i modify the tlp file and the php file of the module, but my programming skills are not so good. :wacko:

 

Have anyone a idea ? and can help me

 

Greatings from Germany :D

 

Devil

Link to comment
Share on other sites

Hello Benjamin,

 

thank you for your replay,

 

I try to explain you.

 

I use the module called " block new products". It is a standard module from prestashop.

 

that module display the newest products from the shop for a specific time for example in the left or right column.

the module diplays the product picture, short description and the product link.

 

now i finished to modified the design of the module .

but this module displays not the price and the reduced price ( if i have adjusted one.)

 

and now it want additionally add the product price and the reduced price in this module.

 

but i dont know how i can do that.

 

I know that i must modify the tlp file and the php file of the module

to get it in it. but my programming skills are not so good .

 

I tried different things but without any results.

 

i hope could explain, you my problem.

 

 

Devil

Edited by Devil089 (see edit history)
Link to comment
Share on other sites

Hey Devil, well manually I'm not sure about the code changes but there a module http://addons.presta...gh-pricing.html

 

However, if you are interested, I would contact the developer to see if it is compatible with the latest version.

 

Here is a Solved post with your question answered in post #7, http://www.prestasho...tion-new-price/

 

This will work in the current version.

Link to comment
Share on other sites

I think the query is this. If you have a new product which has a price reduction (e.g. an introductory offer), then in the specials block and on the product page it will show both the normal and the reduced price.

 

However, in the New Products block, the prices aren't shown - the OP would like to have these shown there too.

 

Devil089, please correct if that's not what you mean.

Link to comment
Share on other sites

I think the query is this. If you have a new product which has a price reduction (e.g. an introductory offer), then in the specials block and on the product page it will show both the normal and the reduced price.

 

However, in the New Products block, the prices aren't shown - the OP would like to have these shown there too.

 

Devil089, please correct if that's not what you mean.

 

 

hi ,

 

yes you are correct the price and the reduced price is shown in the specials block

and and in the product page everything is displayed.

 

the only thing i want that the reduced price and the price is show in the new products module.

like in the specials block.

 

hope i understand you correctly

 

Devil

Link to comment
Share on other sites

Okay, sorry about the misunderstandings. Everything else is fine? You are already showing the old price and new price on your Product Page and Specials block, you just need to show the price on the New Products block?

 

np :)

 

yes in the product page an in the specials block the old price and the new price is shown.

yes i just need it in the new product block.

 

i tried the link you postet from the forum, i know this post.

and tried it a few weeks ago, the pice of code works .

 

but not as it should for this module.

 

I don´t know exactly where i must put the code into the tlp. from new products

I have testet it and it works only if i put it into the {foreach}.

 

But then every discounts are in the product box from the first product that is shown.

 

actually i have no solution but i will try .

 

i am not a programming genie :blink:

 

Devil

Link to comment
Share on other sites

×
×
  • Create New...