Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Compare Products Side-By-Side


Recommended Posts

hi all

 

i just followed this whole thread, and don't found any install doc. for this contribution.

 

i've downloaded the package it only contain compare.php file and that demo link in first post was at parking.

 

i'm looking for Install Documentation for compare module.

 

where can i found it, i've already scribbled through this whole 12 page forum.

many thanks.

 

 

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

 

Compare Products Side-By-Side v1.2

Link to comment
Share on other sites

  • 1 month later...

Installed the contribution today but when i tried it, i got this error:

 

Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /var/www/vhosts/XX/httpdocs/eshop/includes/functions/compatibility.php:18) in /var/www/vhosts/XX/httpdocs/eshop/includes/functions/compatibility.php on line 18

 

Not to mention... this error occurs when I click on the "Compare Items" link.

 

any idea why?

 

 

by the way, i have applied this contribution on RC1... i am not exactly sure if this is compatible with RC1 or not.

If NOT then please let me know if there is any other contribution similar to this for RC1.

 

Cheers.

Edited by muhammad_barki
Link to comment
Share on other sites

  • 4 weeks later...

hi

thanks for the wonderfull contribution! it worked great! im just having one problem.

i have installed chemo's ultimate url contribution as well, and when that contributions is enabled, compare thing doesnot work!

this is wht i get:

SEO URLs - Disabled
Works just fine

 

SEO URLs - Enabled
when ever try to select any product.. it loads the page but the tick is not there! so this means its not selected!
im not able to select products to compare when using chemo's Ultimate SEO URLs.

 

 

wht should i do?

please i need urgent help

outside links are not allowed in signatures

Link to comment
Share on other sites

  • 4 weeks later...

Hi to all,

Just a problem about product comparison

while i am trying to check the product , i am getting this error :

 

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/lostturk/public_html/includes/functions/database.php:13) in /home/lostturk/public_html/includes/functions/database.php on line 13

 

why is that?

 

Thanks in advance

 

BORA

Link to comment
Share on other sites

  • 1 month later...

anyone with answers???? i think author of this contribution is not even interested in this contribution anymore!!!

anyone else with some solution to this???

pleaseeeeeeeeeeeeeee

 

thanks

 

hi

thanks for the wonderfull contribution! it worked great! im just having one problem.

i have installed chemo's ultimate url contribution as well, and when that contributions is enabled, compare thing doesnot work!

this is wht i get:

SEO URLs - Disabled
Works just fine

 

SEO URLs - Enabled
when ever try to select any product.. it loads the page but the tick is not there! so this means its not selected!
im not able to select products to compare when using chemo's Ultimate SEO URLs.

wht should i do?

please i need urgent help

outside links are not allowed in signatures

Link to comment
Share on other sites

never mind.. ive got it figured! :D

but when i tried to use this same contribution onto my other website.. im getting this error

1146 - Table 'sbasket.products_to_products_extra_fields' doesn't exist

select distinct p.products_id, pef.products_extra_fields_id, pef.products_extra_fields_name from products p join products_to_products_extra_fields p2pef using (products_id) left join products_extra_fields pef on p2pef.products_extra_fields_id = pef.products_extra_fields_id where p.products_id in (5646,4670) and pef.products_extra_fields_status = 1 order by p.products_id, pef.products_extra_fields_order asc

 

im sure i have done every step of the instructions..

please if some one can point me to the right direction..

 

thanks

bbye

Edited by nahi_sonu

outside links are not allowed in signatures

Link to comment
Share on other sites

  • 1 month later...

This seems like a very good contribution and I've installed it on my store but for some reason It may or may not be working. Perhaps I am just an idiot.

 

my store: http://www.marxfireplaces.com/store/

 

it is installed and in the admin i have the following settings:

 

Require Login false

Require Account Approval false

Allow Create Account true

Price Break Setting false

Debug false

Display Product Name true

Display Product Model true

Display Manufacturer true

Display Description true

Display Price true

Display Quantity true

Display Weight false

Display Image true

Display Buy Now false

Display Static Attributes false

Display Options true

Display Product Extra Fields false

Display Column Left false

Display Column Right false

Display Footer false

Minimum Number of Products 2

 

Yall keep talkin about a continue button or something and I dont see a continue button. Perhaps someone can help me figure this thing out...

 

Thanks in advance ;)

Link to comment
Share on other sites

Okay so I just noticed that this is using a module 'product_listing.php but i have no clue where that is brought in -- apparently its not being brought in on my store at least nowhere i can find... i followed every instruction in the readme included with product comparison v1.2 and nothing is showing up... and if i manually go to the compare.php it gives me the error that i need to select 2 or more products to compare though nothing is showing up allowing me to compare them.

 

again site is above.. any help is appreciated.

Link to comment
Share on other sites

Okay for some reason the edit button keeps disappearing so I cant edit hence all the posts in a row... not sure if thats intentional on osc forums or not.

 

Anyway, Ive done more looking into this and have noticed that my store is using product_listing_col.php

 

So I copied all the information from product_listing.php to that file saved it and uploaded it and I then see the continue button and the check boxes... while I want the colum type setup on my store i did that as a test... And here is the error that it produces..

 

1054 - Unknown column 'po.products_options_name' in 'field list'

 

select distinct po.products_options_id, po.products_options_name as options, '0' as static from products p join products_description pd using (products_id) left join products_attributes pa using (products_id) left join products_options po on pa.options_id = po.products_options_id and pd.language_id = po.language_id left join products_options_values pov on pa.options_values_id = pov.products_options_values_id and pd.language_id = pov.language_id where p.products_id in (31,26) and pd.language_id = '1' order by p.products_id, po.products_options_name asc

 

[TEP STOP]

 

So if anyone can get me instructions in how to incorporate this into the original product_listing_col.php as well as a possible fix for this error in the compare.php that would be helpful and get my issues all resolved with this contrib.

Link to comment
Share on other sites

I got it incorporated into the product_listing_col.php as I wished but I still have the error showing on the compare.php so still need to fix that issue... as ive read through this I havent seen a fix for that... If I missed it please let me know.

 

Thanks,

yimmi

Link to comment
Share on other sites

  • 2 months later...
I got it incorporated into the product_listing_col.php as I wished but I still have the error showing on the compare.php so still need to fix that issue... as ive read through this I havent seen a fix for that... If I missed it please let me know.

 

Thanks,

yimmi

trying to remove the options type from your compare.php, it may work.

Link to comment
Share on other sites

  • 5 months later...

Does anyone have a proper up-to-date layout of this contribution?

A step by step guide would be great.

The download contribution http://addons.oscommerce.com/info/2192 has only the compare.php file in it with no instructions.

I have read all the posts in this thread with no luck - plenty of suggestions but no real instructions.

It's ashame that this contribution has died ....was a great idea.

 

Can anyone suggest a similar contribution where you can compare products..?

 

cheers vjc

Link to comment
Share on other sites

Ok, I have fumbled and bumbled my way through and seemed to get it going...

 

Anyway a couple of things,...

1. how do you get the column widths all the same? They are all different widths >> looks very unprofessional.

2. I downloaded the product_listing_col.php but it has no instruction on how to use

Does anyone know how to install..?

 

cheers vjc

Link to comment
Share on other sites

Ok I have worked out the obvious... rename product_listing_col.php to just product_listing.php.

 

How do you make the output on the compare page so it lists to read the products in rows not columns? --- looks dam ugly!

 

thanks

Link to comment
Share on other sites

  • 2 months later...

Hello,

 

In response of your last question, I think it's better to customize your basic product_listing.php file with the mods of product_listing_col , to, at least, make it work in columns.

 

For my own I have a problem in running the compare.php file. I think it's not compatible with Php5 near the code :(and further down the code also surely) :

 

	$pd_matches = "  from products_description pd join products p using (products_id) left join
					  manufacturers m using (manufacturers_id) left join
					  specials s on p.products_id = s.products_id 
				where p.products_id in (" . implode(",", $columns) . ")";
$pd_orderby = " order by p.products_id asc";

 

I have added the parenthesis like so

 

	$pd_matches = "  from (((products_description pd) join products p using (products_id)) left join
					  manufacturers m using (manufacturers_id)) left join
					  specials s on p.products_id = s.products_id 
				where p.products_id in (" . implode(",", $columns) . ")";
$pd_orderby = " order by p.products_id asc";

 

... but it doesn't work.

 

Any help appreciated

Thanks

Link to comment
Share on other sites

  • 5 weeks later...
  • 2 months later...
  • 3 weeks later...
some one tried to use with new version of oscommerce?

 

oscommerce-2.2rc2a

not me, it uses the GET vars, I think it will work, but can't guarantee it.

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

It would be great when this contribute will work with STS... Is there anybody out there how can make this?

STS is a specialist topic in its own right, might be better of finding someone on the STS thread to help with this.

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

BTW, I keep on subscribing to this topic, but never get notified by the system when someone posts ...

BTW2, I'm very busy as shopowner and don't have time anymore for coding

BTW3, this is old, bad, but functional code

BTW4, products specifications might be an good contribution in the works which could provide this functionality as well ...

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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