Re: Multi Cross Sell mod [Support thread]
I am looking through my error log in my Cpanel and I came across this error.
Tue Jan 18 11:17:09 2011] [error] [client 188.165.234.114] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant 11 in /home/fromprop/public_html/includes/modules/alysa_rounded/multi_xsell_products.php on line 43
I re downloaded the module and opened that multi_xsell_products.php and the one I have in Winmerge and I got a message saying that it's identical.
I don't understand what this error message is telling me.
Thanks!
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
nolsowski
I am looking through my error log in my Cpanel and I came across this error.
Tue Jan 18 11:17:09 2011] [error] [client 188.165.234.114] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant 11 in /home/fromprop/public_html/includes/modules/alysa_rounded/multi_xsell_products.php on line 43
I re downloaded the module and opened that multi_xsell_products.php and the one I have in Winmerge and I got a message saying that it's identical.
I don't understand what this error message is telling me.
Thanks!
You have remnants of a previous cross sells confiquration installed
in this case MIN_DISPLAY_XSELL
See post #31
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
gilby
You have remnants of a previous cross sells confiquration installed
in this case MIN_DISPLAY_XSELL
See post #31
Am I supposed to search with that in the quotations or without? Reason asking is because I have went into my phpadmin and searched with and got nothing. But I searched without the quotations and I got a error that says this:
Error
SQL query: Documentation
SELECT *
FROM `zen_configuration`
WHERE `configuration_id` = MIN_DISPLAY_XSELL
LIMIT 0 , 30
MySQL said: Documentation
#1054 - Unknown column 'MIN_DISPLAY_XSELL' in 'where clause'
Sorry I am completely lost when it comes the the phpadmin.
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
nolsowski
Am I supposed to search with that in the quotations or without? Reason asking is because I have went into my phpadmin and searched with and got nothing. But I searched without the quotations and I got a error that says this:
Error
SQL query: Documentation
SELECT *
FROM `zen_configuration`
WHERE `configuration_id` = MIN_DISPLAY_XSELL
LIMIT 0 , 30
MySQL said: Documentation
#1054 - Unknown column 'MIN_DISPLAY_XSELL' in 'where clause'
Sorry I am completely lost when it comes the the phpadmin.
Try this instead...
SELECT *
FROM `zen_configuration`
WHERE `configuration_key` = 'MIN_DISPLAY_XSELL'
LIMIT 0 , 30
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
gilby
Try this instead...
SELECT *
FROM `zen_configuration`
WHERE `configuration_key` = 'MIN_DISPLAY_XSELL'
LIMIT 0 , 30
Just tried this too and it's saying it's coming up empty.
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
nolsowski
Just tried this too and it's saying it's coming up empty.
browse this table
goto the end
page backwards until you find it
then delete it
ignore the same key that has a number after it
eg MIN_DISPLAY_XSELL1
MIN_DISPLAY_XSELL2
MIN_DISPLAY_XSELL3 etc
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
gilby
browse this table
goto the end
page backwards until you find it
then delete it
ignore the same key that has a number after it
eg MIN_DISPLAY_XSELL1
MIN_DISPLAY_XSELL2
MIN_DISPLAY_XSELL3 etc
Thanks! I got it deleted.
Re: Multi Cross Sell mod [Support thread]
Hi
I got your mod installed correctly i think, but im stuck on the entering my first cross sell.
getting the error 'Please input at least 2 products ids/models to cross-sell'
there are only 2 text entry boxes -new cross sells & edit cross sells
i didnt merge the file tpl_product_info_display.php becuse its not in my custom template folder.
tho i have that file in a template_default folder.
im on Zen 3.8
Thank You!
Re: Multi Cross Sell mod [Support thread]
Hi
i had to remove all the multi cross sell files entirely.
when i clicked on any of my product thumbnail/links to view product page the page was blank :no:
when i removed all the multi cross files they came back, thank God.
still need a mod like this though.
eg we have a product category 'coffee tables'
when a visitor looks at 'Acme coffee table'
i want the to see below listing...also in this range...
-'acme bookshelf' 'acme lamp table' etc
any help advice appreciated.
Cookie
Re: Multi Cross Sell mod [Support thread]
Quote:
Originally Posted by
Cookiepus
Hi
I got your mod installed correctly i think, but im stuck on the entering my first cross sell.
getting the error 'Please input at least 2 products ids/models to cross-sell'
there are only 2 text entry boxes -new cross sells & edit cross sells
i didnt merge the file tpl_product_info_display.php becuse its not in my custom template folder.
tho i have that file in a template_default folder.
im on Zen 3.8
Thank You!
In the "New Cross Sell"
Enter a list of items that you want to cross sell sepearated with the defined separater
ege: product1,product2,product3 will cross sell these 3 products in all possible ways
Read yellow1912's tutorial in docs\how_to_use.txt
If the file tpl_product_info_display.php becuse its not in my custom template folder
then rename the sample file
SAMPLE_ADDITION_TO_tpl_product_info_display.php
to
tpl_product_info_display.php
and make sure it is in your overide folder
\includes\templates\YOUR_TEMPLATE\templates\
renaming "YOUR_TEMPLATE" to your template name of course