Jump to content
vekia

[free module] related products PrestaShop 1.7 / 1.6

Recommended Posts

Related Products - Free module for prestashop
this addon displays related products on your product pages.
each product can have own unique related products based on selected category

related-products-free-personalize-it-to-make-it-work-with-non-default-themes.jpg

related-products-free.png

 

relatedfree16.zip - for prestashop 1.6.x
relatedfree17.zip - for prestashop 1.7.x

 

 

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

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
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
new version of module is ready to use

- added full italian translation

- added fixes related to appearance of translated strings

Share this post


Link to post
Share on other sites

@vekia, 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

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

I just translate module to portuguese_BR;

 

relatedfree-br.php

 

just rename to br.php or pt.php and insert to your shop: yourtheme/modules/relatedfree/translations

 

 

 

Share this post


Link to post
Share on other sites

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

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

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

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

 

yes,

free version allows to select category only

Share this post


Link to post
Share on other sites
new version of module is ready, 

- added support of PrestaShop 1.7

- released separated library for PrestaShop 1.7

Share this post


Link to post
Share on other sites

Hello.

Thank you very much for this module!

It works like a charm.

 

Is it possible to change the display order like random or descending?

 

Thank you.

Regards.

Share this post


Link to post
Share on other sites

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

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

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)

Share this post


Link to post
Share on other sites

 

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
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
i updated this free similar products module

- added improvements to module for prestashop 1.7 - it can be translated properly now

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

you mean that you want to add products in bulk to cart ?

Share this post


Link to post
Share on other sites

currently this free module does not have this feature and it requires development.

Share this post


Link to post
Share on other sites

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

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

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

i have installed also on 1.7.1.2 and get No related products at this time.

 

You not defined the id of category to show probably.

Share this post


Link to post
Share on other sites

 

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

but must i do that on every product ?

 

yes, it is necessary to setup module for each product.

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

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

hello

this is not the issue of the module

you need feature that does not exist in this module

Share this post


Link to post
Share on other sites
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

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

Hi

How to change display order to "new first" in related products category?

Share this post


Link to post
Share on other sites

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
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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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