Jump to content
Skittles

Optional Related Products, Version 4.0

Recommended Posts

This is a great module. I just installed OS 2.34 and the module was included. When I clicked the "Upgrade Earlier Version to Version 4.0"

the Configuration page disappeared.

 

How do I delete the module so I can do a complete re-install?

Share this post


Link to post
Share on other sites

I also got this error:  1366 - Incorrect integer value: '' for column 'configuration_group_id' at row 1

INSERT INTO `configuration_group` VALUES ( '', 'Related Products', 'Optional Related Products module', '999', '1' )

[TEP STOP]

Share this post


Link to post
Share on other sites

Hello @@adanob,

 

Please use the latest version:

Related Products 6.2 BS

http://addons.oscommerce.com/info/9499

 

The database installation is integrated in the module installation and the configuration page is not used any more.

To remove all old configuration entries, search in your database in the configuration table for entries beginning with "RELATED_PRODUCTS_", use wildcard "like%".

Remove also in the configuration groups table "Related Products" group.

 

 

I do not understand this:

 

I just installed OS 2.34 and the module was included.

 

How was it included? Optional related products is an add-on and not included in a new 2.3.4 installation. I hope you used the 2.3.4 BS responsive community version for a new installation.

 

 

rgds

Rainer

Edited by raiwa

Share this post


Link to post
Share on other sites

Hello @@Psytanium,

 

SOrry this is not yet possible from the admin page.

However you could filter (search) by product ids/ranges in the database table and then delete multiple items.

 

rgds

Rainer

Share this post


Link to post
Share on other sites

Hello Rainer

 

Just tried to install Optional Related Products in my new store setup. 2.3.4.BS latest version from jburt - I checked the config and modifications twice and cleaned the config file in sql after the first try, copied all files again, but this error shows up, when I click in "catalog" on "relatet products"

 

Warning: require_once(DIR_WS_FUNCTIONSrelated_products_funcs.php): failed to open stream: No such file or directory in C:\xampp\htdocs\designshop\admin\optional_related_products.php on line 22

Fatal error: require_once(): Failed opening required 'DIR_WS_FUNCTIONSrelated_products_funcs.php' (include_path='\xampp\php\PEAR') in C:\xampp\htdocs\designshop\admin\optional_related_products.php on line 22

 

I have installed the 5.6 version from 3.Nov 2015 as I am not using the modular shopping cart.

 

Any clue what could produce this error? Any help would be greatly appreciated!

 

Kind regards - Felix


Whoever finds errors and misspellings in my postings can keep them  o:)

 

Moving from 2.2 MS to 2.3.4 BS EDGE - and I love this version!

 

I might show "online" all the time - but I might be away from my computer  ;)

Share this post


Link to post
Share on other sites

@@felix-swiss

 

If you are using the latest version of 2.3.4BS Edge, the developer(s) have removed many of the file path definitions, and have instead hard-coded the paths in the code. You have three options:

 

1) Install the compatibility add-on

 

http://addons.oscommerce.com/info/9506

 

 

2) Hard-code the paths into this add-on

 

 

3) Add the paths back to you /catalog/includes/configure.php file

  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  define('DIR_WS_INCLUDES', 'includes/');
  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

(I'm sure someone will correct me if I am wrong :- )

 

HTH

 

Malcolm


Get the latest Responsive osCommerce CE (community edition) here .

Share this post


Link to post
Share on other sites

Hello Felix @@felix-swiss,

 

Please use the newest version Related Products 6.3 BS:

http://addons.oscommerce.com/info/9499

 

it's updated with hardcoded paths since version 6.2 and should be 100% compatible with the newest 2.3.4 BS EDGE version.

 

rgds

Rainer

Share this post


Link to post
Share on other sites

@@malcolm: Thank you for the suggestion! I thought it must be something like that.

 

@@Rainer: I will use that version instead. Thank you. Is the regular version the same as this module or do I "need" to go for the pro version?

Am trying as soon as possible.

 

@both :thanks for the quick response and help!!

 

Kind regards - Felix


Whoever finds errors and misspellings in my postings can keep them  o:)

 

Moving from 2.2 MS to 2.3.4 BS EDGE - and I love this version!

 

I might show "online" all the time - but I might be away from my computer  ;)

Share this post


Link to post
Share on other sites

@ Rainer: worked like a charm - thanks for the help

 

Kind regards - Felix


Whoever finds errors and misspellings in my postings can keep them  o:)

 

Moving from 2.2 MS to 2.3.4 BS EDGE - and I love this version!

 

I might show "online" all the time - but I might be away from my computer  ;)

Share this post


Link to post
Share on other sites

Hi,

Tried to install Related Products 6.4 BS but came across a buggy thing.

I use the bootstrap version gold, but when installing this addon, the tumbnails are not showing. I think it's has something to do with the get function somewhare.

Any Ideas

Greetings, Anne

Share this post


Link to post
Share on other sites

@Dj-Viper I think you have been changing the images folder name ,  if  yes,,

then you have to change the folder name in

includes/modules/content/product_info/cm_pi_related_products.php

find this

tep_image('images/

and change images to your images folder name

and  same also in includes/modules/content/shopping_cart/cm_sc_related_products.php

 

Br
Omar

Share this post


Link to post
Share on other sites

I notice the latest version outputs html regardless if related products are found. Adding this check addresses this:

		if (!empty($optional_rel_prods_content)) {
		ob_start();
        include('includes/modules/content/' . $this->group . '/templates/related_products.php');
        $template = ob_get_clean();

        $oscTemplate->addContent($template, $this->group);
		}

Also I believe this line of code should be inside a conditional statement:

$optional_rel_prods_content .= '<hr>';

And if updating to Bootstrap 4 all thumbnails should be switched to cards.


The water in a vessel is sparkling; the water in the sea is dark. The small truth has words which are clear; the great truth has great silence.

- Rabindranath Tagore

Share this post


Link to post
Share on other sites

Kneejerk comments that get edited.  Remember that some of us get to read it all ;) 

Would suggest that if one gets angered by someone elses comment...go and have
 beer/coffee/tea and come back with a clear head ready for posting constructively.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

Read all you like Burt! your welcome to read it all.😂 Try going back and looking at some of your own comments!

Edited by JcMagpie

 

Share this post


Link to post
Share on other sites
Just now, JcMagpie said:

Read all you like Burt! your welcome to read it all.😂 Try going back and looking at some of your own comments!

I'm just off to have a 🍻 😂  

 


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

sorry no idea what that is eyes are not what they use to be. Oh ok think it's bear! cool enjoy.

Edited by JcMagpie

 

Share this post


Link to post
Share on other sites

@raiwa Yes, moving that bracket is more logical. Regarding the <hr> tag, I only have the image and product name enabled so I don't see the purpose of the line. Regardless, thanks for the great addons. Looking forward to the BS4 versions.

 

 

Edited by Smoky Barnable

The water in a vessel is sparkling; the water in the sea is dark. The small truth has words which are clear; the great truth has great silence.

- Rabindranath Tagore

Share this post


Link to post
Share on other sites

New version uploaded:

Related Products 6.6 BS


- Supressed any html output if no related products are available. Thanks to @Smoky Barnable for the advice
- conditioned <hr> tag if content is shown below.  Thanks to @Smoky Barnable for the advice
- updated template call and naming to 2.3.4.1. FROZEN standard
- changed module class names to match 2.3.4.1. FROZEN standard
- included references for 2.3.4.1 CE FROZEN to instructions

 

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

×