Re: Just another Cross-Sell mod (support thread)
I plan to make several changes during Winter break:
Code: will use class instead of functions. Clean up messy codes, make it easier for you to make changes if needed.
On admin side:
1. No need to add new field for each product id/model. All will be in the same input field, separated by comma or semicolon. I realize from my own experience that this will make the job even faster and easier.
2. No longer list all cross-sells by default to speed up the loading (especially if you have lots of xsells)
3. Easy retrieval: If you have a group of xsell products (A, B, C) and want to add D to this group, you will be able to do this very easily.
The same with master product (1 way cross sell)
On catalog side:
Will merge the original XSell to the package to make it easier for you.
Let me know if there is anything else you want.
Add Product Field Button throws error
Hello,
When I click the Add Product field button it throws the following Javascript error.
Code:
addFields is not defined
The following appears to be the offending line.
Code:
addFields('xsellProducts','product_id[',-1,prefix,sufix);
Any idea what didn't get installed correctly. Besides that everything has been working great.
PS
The idea of adding multiple items by separating by a comma is great.
Re: Just another Cross-Sell mod (support thread)
This is a minor bug which has been reported. The js folder in the package must be placed in the root folder I think. I will fix this in the next version.
Re: Just another Cross-Sell mod (support thread)
ok, good to know. Good luck with the next release. I am looking forward to it.
Re: Just another Cross-Sell mod (support thread)
For now you just need to place the js folder in the root folder I think, that will fix it,
Re: Just another Cross-Sell mod (support thread)
A new version is released, this version does not contain any new feature (except 1: it no longer lists all xsells by default --> faster loading speed)
Link: https://svn.rubikintegration.com/zen...sell_advanced/
Since this is a minor release, I won't upload it to the download section.
Changes:
1. Included the original Xsell package now.
2. Moved most core functions out of the template file.
Upgrade: Simply upload all files to overwrite the old one, no change in database.
If you have time, please upgrade to this new version on your test server and let me know if things turn out okie. (especially the js folder, does it still have to be in root folder?)
yellow1912
Re: Just another Cross-Sell mod (support thread)
A new version is available for testing, unfortunately I dont have time to document it yet:
1. NOW add all ids/models using a single input field
2. Added a switch in the admin panel that let you display xsell products randomly (in the store). You will need to run the new sql patch + overwrite the old includes/modules/yourtemplate/xsell_products.php with the new one.
All suggestions/comments are appreciated.
Re: Just another Cross-Sell mod (support thread)
New version, this should be the last one of the day (and the last one for a while :P)
1. No longer loads and displays all current xsells by default (improve loading speed)
2. Includes the original Xsell package now.
3. Most core functions are moved out of the template file.
4. Use a different approach to input new xsells.
5. Added a switch in the admin panel that let you display xsell products randomly (in the store)
6. Many minor changes to code.
and more ....
Link:
https://svn.rubikintegration.com/zen...sell_advanced/
I will NOT upload to download section until this version is confirm bug free. So don't wait, since it will be for a while.
Re: Just another Cross-Sell mod (support thread)
Hello there,
I just tried the last version mention before this post. I think this may be due to my setup of my cross sells, as it doesn't always show when you edit an item. But sometimes pressing edit brings this up:-
HTML Code:
0
in:
[select p.products_id, p.products_model, pd.products_name, px.ID, px.sort_order from zen_products p, zen_products_description pd, zen_products_xsell px where p.products_id = pd.products_id and p.products_id = px.xsell_id and px.products_id = '4' group by p.products_id]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Everything else is great though.
Thanks,
Heathenmagic
Re: Just another Cross-Sell mod (support thread)
There is one minor bug that would cause an error if you search for a non-exist cross-sell.
Fix: download the new JAXSell/admin/includes/init_includes/init_yclass.php, and upload to your server.
@HeathenMagic: I will look into the bug you reported.