Jump to content
AMS777

[Free Module] Block Product Promotion

Recommended Posts

Hi there,

 

I've done a simple module to display a block with a product.

 

The product id is set in the configuration, and the name, picture and short description are displayed as links in the block.

 

That's it :)

 

----------------------------------------------------

 

Version 0.1: Tags stripped in the short description as pointed out by jolvil in post #3.

 

Version 0.2: Removed the escape:html:'UTF-8' function in blockproductpromotion.tpl for description_short because it produced errors with special characters. Product name truncated to 22 instead of 14.

blockproductpromotion 0.0.zip

blockproductpromotion 0.1.zip

blockproductpromotion 0.2.zip

  • Like 9

Share this post


Link to post
Share on other sites

Hello

 

Already 25 downloads, and not a single thank you to AMS777?

 

Not fair guys... not fair at all!

 

Bye

Takio

  • Like 1

Share this post


Link to post
Share on other sites

They are some <p> in description

 

so I changed

 

                $obj->description_short = $product['description_short'];

 

to

 

                $obj->description_short = strip_tags($product['description_short']);

 

in blockproductpromotion.php

Share this post


Link to post
Share on other sites

Thanks for sharing this useful module. We will use and advice our customers to use your module. Hope you will release another modules.

Share this post


Link to post
Share on other sites

Thanks for the comments, guys :)

 

jolvil, I've updated the module with your correction.

Share this post


Link to post
Share on other sites

HI! Can we have a preview of this module many tahnks :D

 

I will try it!

Share this post


Link to post
Share on other sites

Thanks for using this module :)

 

You can see this module on my website. Here you have a snapshot:

 

post-140084-0-44848100-1318509652_thumb.jpg

Share this post


Link to post
Share on other sites

thank you for this great module, will there a new one coming soon?

Share this post


Link to post
Share on other sites

Thanks to all :)

 

will there a new one coming soon?

 

Not for now, sorry.

Share this post


Link to post
Share on other sites

Any chance you can tell me how to get the box around the product?

and centralise it in the column?

Thanks in advance!

p.s. great module!

Share this post


Link to post
Share on other sites

Would it be possible to make this module scroll through a couple of different products every few seconds?

Share this post


Link to post
Share on other sites

Any chance you can tell me how to get the box around the product?

and centralise it in the column?

Thanks in advance!

p.s. great module!

 

Thanks!

 

The box? Do you mean $('.product_promotion') ?

 

Centralise? Do you mean the image? With text-align...

Share this post


Link to post
Share on other sites

Would it be possible to make this module scroll through a couple of different products every few seconds?

 

Yes. You'll have to develop an ajax functionality that runs the same code of hookRightColumn(), which renders the blockproductpromotion.tpl template.

Share this post


Link to post
Share on other sites

Would it be possible to make this module scroll through a couple of different products every few seconds?

 

Yes. You'll have to develop an ajax functionality that runs the same code of hookRightColumn(), which renders the blockproductpromotion.tpl template.

Share this post


Link to post
Share on other sites

Thanks AMS777 for the module.

 

Maybe you guys had an information, I'm looking for a module or an help to create it, which allowed to show different sidebar content depending on the category page you visit.

 

Any idea ?

Thanks.

Share this post


Link to post
Share on other sites

Hi, i have a question, if this is possible to display 2 or more products in this module?

 

Many thanks!

Share this post


Link to post
Share on other sites

thanks for this module

 

it's compatible with ps 1.5?

 

are you a demo?

Share this post


Link to post
Share on other sites

Hello!

Great module!

I use it to put the monthly promotion in this box. I want to add a red text "PROMOTION OF THE MONTH" over the box. But where and how should I add it?

I modified blockproductpromotion.tpl - nothing changes :wacko:

Edited by newage (see edit history)

Share this post


Link to post
Share on other sites

i want to use at 1.4.0.17 and i want to use in the right how can i do and who must download?

thanks a lot from GREECE

Share this post


Link to post
Share on other sites
Guest

Great module! Thank you very much.

Share this post


Link to post
Share on other sites

Version for 1.5 if some one needs.

 

If no image, just change in blockproductpromotion.tpl:

 

 

tm_home_default

 

 

On your image type name.

 

Btw i dont test how it works with specific product price (discounts).

 

blockproductpromotion.zip

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More