Jump to content

[free module] related products PrestaShop 1.7 / 1.6


Recommended Posts

This looks really cool :) Does this work with prestashop cloud?

I've uploaded it to FTP and it appears in the modules list, but when I click install it asks me to login again. I do, but it then returns to the same screen - so I search again and the login screen appears again (x loop) haha

Share this post


Link to post
Share on other sites
  • 4 weeks later...
new version ready to download
module contains appearance fixes

This looks really cool :) Does this work with prestashop cloud?

I've uploaded it to FTP and it appears in the modules list, but when I click install it asks me to login again. I do, but it then returns to the same screen - so I search again and the login screen appears again (x loop) haha

 

 

new version will be ready within next several hours and it will support cloud.

Share this post


Link to post
Share on other sites
  • 3 months later...
  • 4 months later...
  • 2 weeks later...
  • 2 months later...

How can I translate this into my language (Slovenian)? 

how can we bulk update products with category_id ? Is there any specific backend table associated that can be updated ?

 

 

new version of module is ready to use
- added full italian translation
- added fixes related to appearance of translated strings

 

how can we bulk update products with category_id ? Is there any specific backend table associated that can be updated ?

Share this post


Link to post
Share on other sites

I would love to get the answer for kavin's question and I would love to have information how about to get random products - not alphabetical one.

 

If someone don't want to display information about "No product at this time" in each product which does not have assigned related category ID just edit the modules/relatedfree/views/templates/hooks/product16.tpl and delete all and paste this

 

EDIT: I bought PRO version - it is totally worth it! Except for few thing that I wrote to support but I think that they will help me.

{**
* PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
*
* @author    VEKIA https://www.prestashop.com/forums/user/132608-vekia/
* @copyright 2010-2015 VEKIA
* @license   This program is not free software and you can't resell and redistribute it
*
* CONTACT WITH DEVELOPER http://mypresta.eu
* support@mypresta.eu
*}
{if isset($blocks_products) && $blocks_products}
    <div id="related_products_free" class="block products_block clearfix">
        <h3 id="#idTab6" class="idTabHrefShort page-product-heading">{l s='Related products' mod='relatedfree'}</h3>
            	{include file="$tpl_dir./product-list.tpl" class="related_products tab-pane" id="related_products" products=$blocks_products}
    </div>
{/if}
Edited by hakeryk2 (see edit history)

Share this post


Link to post
Share on other sites
  • 1 month later...
  • 5 months later...

Hello!

Thanks for this module! I just have an issue:

 

I cannot properly show the products in a block-line

the correct way would be to transform the actual css for each product block from this:

 

<li class="ajax_block_product item">

 

to this one

 

<li class="ajax_block_product item" style="width: 270px; display: inline-block; margin: 50px;">

 

How can I do that?

I listed many options:

 

1) directly on the css, but it would be globally used

2) directly in the template products16.tpl of the module, but I amnot finding any useful manual of smarty for the correct syntax
3) change classes names and use the actual ones

 

Any idea?

Share this post


Link to post
Share on other sites
  • 1 month later...

new version of this free module is available

- added feature that allows to create a clickable heading of the block with products.

- module will create link to selected category page

  • Like 2

Share this post


Link to post
Share on other sites
  • 2 weeks later...

new version of this free module is available

- added feature that allows to create a clickable heading of the block with products.

- module will create link to selected category page

 

In the free version, only asociates one category for product?

Share this post


Link to post
Share on other sites
  • 1 month later...
  • 3 weeks later...
  • 2 weeks later...

Hi vekia,

 

On my site I use a (custom made) option to search products related with the same tag.

This works like this:

On the product page I have added a tab, when a user selects that tab it displays the product(s) with the same tag. If you click on that tag it will perform a search for products containing this tag. (I can provide you a link I you want)

What I was thinking was that it would be very usefull to display releated products with this tag in the same page.

 

So what I basicly want is that the module searches for the same tag (in the same category) and displays the "releated products block" showing these products

 

Can your module do this ?

 

Kind Regards

 

 

Share this post


Link to post
Share on other sites
  • 1 month later...

Hi Vekia.

 

 

Thanks for this great module.
 
Isn't it possible to link multiple categories? So i write 30, 32, 36 and so on?
 
Can only get the first category sccessories to show.
 
 
Regards Danni

Share this post


Link to post
Share on other sites

prestashop does not allow to get products from several categories at the same time,

due to the fact that module uses native features available in prestashop - it will be necessary to change prestashop core to achieve this.

Share this post


Link to post
Share on other sites
  • 3 weeks later...

 

i keep trying to install but get this message::

 

2 errores 

  1. relatedfree (parse error in /modules/relatedfree/relatedfree.php)
  2. relatedfree (missing class in /modules/relatedfree/relatedfree.php)

 

 

what version of module you're trying to use ? + what is the ps version ?

Hi

Is it possible to show it in the cart also?

 

hello

this is module for product pages only

Share this post


Link to post
Share on other sites
  • 2 weeks later...
new version for prestashop 1.7 is ready!
Added improvements to translations feature, now addon can be translated properly.

But Pro version supports cart?

 

currently it doesnt, next version will support cart

Share this post


Link to post
Share on other sites

plz help me i need moudle related products PrestaShop 1.6 by cheking box for add to cart

 

i want change button add to cart to checkboxes in prestashop

i make 2 file new for moudle

i chang prouductlist.tpl to prouductlist1.tpl

and prouductlist.css to prouductlist1.css

 

check box for me is important

i use this moudle for accesory

Edited by امیر (see edit history)

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Thank you very much for this fantastic module!

Works fine under Prestashop 1.6.0.14

 

Is there any way to massively apply the configuration to all products? (it´s gonna be the same for all)

Maybe working on bbdd?

 

Good work!

Álvaro

 

Share this post


Link to post
Share on other sites
  • 3 weeks later...

Hi

 

I installed this module on Prestashop 17.1.1, but it always shows up the "No related products at this time" message, even if I have other product in the same category.

 

Does anyone have the same issue ? Any idea how to fix it ?

 

I tried to remove the display condition in the view template, but this only displays an empty product box element

{if isset($products) && $products}

Share this post


Link to post
Share on other sites
  • 1 month later...

Hello.

 

How to hide related products if no category selected.

 

Thanks you.

 

Note : it's ok, productFooter.tpl

 

So, is it possible to have the same product category without to complete the ID in a specific product ?

Edited by Makeup Sens (see edit history)

Share this post


Link to post
Share on other sites

 

Hi

 

I installed this module on Prestashop 17.1.1, but it always shows up the "No related products at this time" message, even if I have other product in the same category.

 

Does anyone have the same issue ? Any idea how to fix it ?

 

I tried to remove the display condition in the view template, but this only displays an empty product box element

{if isset($products) && $products}

 

you configured the module on product pages where you have to define the id of category to show ?

Share this post


Link to post
Share on other sites

 

So, is it possible to have the same product category without to complete the ID in a specific product ?

 

Free version does not have feature to automatically define the ID of category for products.

 

Free version has feature to manually define ID of category for each product - one by one,. Module will display products from this category as "related products".

Share this post


Link to post
Share on other sites
  • 4 weeks later...
  • 2 weeks later...

 

You not defined the id of category to show probably.

 

I have this problem too!! And actually all my products are in categories. How can i fix this?

 

PS 1.7 i cant find any related product

Edited by Drens (see edit history)

Share this post


Link to post
Share on other sites

I have this problem too!! And actually all my products are in categories. How can i fix this?

 

PS 1.7 i cant find any related product

 

i dont know what you exactly mean by "all my products are in categories".

you have to configure the module on product page where you want to show it, there is a form to define category and module will show products from selected category.

Share this post


Link to post
Share on other sites

i dont know what you exactly mean by "all my products are in categories".

you have to configure the module on product page where you want to show it, there is a form to define category and module will show products from selected category.

Thanks for your response Vekia!! I mean that my products are in categories each one. For example, a MotherBoard its on PC Components > MotherBoards... when i go into a product like that i cant see any related product even though theres many other motherboards on that category

 

 

 

Thanks man, you rock. hope u can help me

Edited by Drenser (see edit history)

Share this post


Link to post
Share on other sites

but i still dont know if you configured the module and if you selected the category to show on module configuration section (product edit page > modules > related products free). it looks like module is not configured.

Share this post


Link to post
Share on other sites

but i still dont know if you configured the module and if you selected the category to show on module configuration section (product edit page > modules > related products free). it looks like module is not configured.

Kudos for you!! now its working man, thank you so much.

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Vekia, is there any way to make the products from the category ID i configured appear randomly? Always the same 5 products for each category  they never change even tho i clear cache, i dont want to try to edit the code by my own because its your develop :(

 

I configured the module manually on +250 products but then realized that they are always the same 5 products for each category, and thats not going to work for me because, those products are going to get old and i wont be able to change them


If theres no way on free edition, can you give a promo code for me for buying the premium? I live in Mexico and euros are way TOO expensive for me.

Edited by Drenser (see edit history)

Share this post


Link to post
Share on other sites
  • 4 months later...
  • 1 month later...
On 26/11/2015 at 11:26 AM, blazk said:

How can I translate this into my language (Slovenian)? 

 

go to your dashboard > International > Translations :

dfeef330043c8c9fa954fcda01843296.png.3eeb08b917c2bfabf54b7a0227cd03f6.png

then choose the module (related products free) and your language, and press modify :

95ac300bb896548c2c5a4de6f77733e2.thumb.png.b588710ca42a20301c30199542f6dcf4.png

in the next page you can change what you need with your own translation. :) 

(late answer but posting it for others just in case)

Edited by Uchiwayas (see edit history)

Share this post


Link to post
Share on other sites

if you have a translations packs for your local languages it will be great if you will share it here, i will include them to next releases of this free addon :-)

  • Like 1

Share this post


Link to post
Share on other sites
  • 4 weeks later...

Hello,

Do you know how can we make that products listed by your module to pass google validator at price? Now it show with currency sign.

We modified in product.tpl <span id="our_price_display" class="price" itemprop="price" content="{$productPrice|regex_replace:'/€/':' '}">{convertPrice price=$productPrice}</span>

But how can we make also for your module?

Thank you,

Share this post


Link to post
Share on other sites
  • 1 month later...

new version of the module is ready (v1.6.3)

module has now options that allow to personalize it and make it work with themes that use different than default-bootstrap (or 'classic' in prestashop 1.7) structure of list of products.
Configuration page of the module allows to set:
- path to the file that will be used as a product miniature (useful if theme uses different file than product-list.tpl or /catalog/_miniatures/product.tpl)
- class of main div with 'related products'
- class of div where products are included

thanks to this module can work with non-default templates.

Share this post


Link to post
Share on other sites
  • 3 weeks later...
On 12/15/2018 at 9:48 AM, vekia said:

new version of the module is ready (v1.6.3)

module has now options that allow to personalize it and make it work with themes that use different than default-bootstrap (or 'classic' in prestashop 1.7) structure of list of products.
Configuration page of the module allows to set:
- path to the file that will be used as a product miniature (useful if theme uses different file than product-list.tpl or /catalog/_miniatures/product.tpl)
- class of main div with 'related products'
- class of div where products are included

thanks to this module can work with non-default templates.

Hi,

It does not showing any products? It says: there is no related products for all products (In fact, there are arround 4K products)

What have I do?

version: 1.7.4.4

 

Edited by selin (see edit history)

Share this post


Link to post
Share on other sites
  • 7 months later...

Hola:

 A pesar de que aparece la posible opción de borrado de una lista creada, esto no es posible ya que no está activo. Actualmente tengo la versión PRO 2.1.4. Aparte de otros problemas como la opción PopUp no funciona.

¿Alguna ayuda?

Gracias

Share this post


Link to post
Share on other sites
  • 2 months later...
  • 2 months later...
  • 11 months later...

Hi Vekia, Thanks a lot for this free module!

I installed the module for prestashop 1.7.

I can not see in the product page the sliding list of related products. 

In the module configuration I set the display of 4 related products but in the product tab the related products are displayed one above the other instead of scrolling on the same row.

Can you help me to fix this?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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