It's not really the web root, but actually the ZC's root. Yeah we can move it to includes, just have to change the path.
Printable View
It's not really the web root, but actually the ZC's root. Yeah we can move it to includes, just have to change the path.
Question: I have your advance cross-sell mod installed. What does the "add product field" button in the New Cross Sells section do? It gives the following JS error when I click it:
Line: 25
Char: 2
Error: Object Expected
Code: 0
www....com/admin/xsell_advanced.php
Answer: This happens when your shop is located at the subfolder, for example: yoursite.com/shop
fix:
Is the js folder located at shop/ now? if yes please move it to the root folder (above shop).
Reason: The link to js file is hard-coded and assumes your shop files are located at root. Will try to fix this in the next version.
Regards.
Hi paulm,
Sorry for the late reply. I have just had the chance to look at the file you sent me, it looks like an useful and easy feature. I will try to have it in the new version soon, but not in a very near future, maybe the next 2 weeks. There are several reasons:
1. This mod was coded based on the old Advanced XSell mod, so the code behind looks very messy, I'll have to take time and clean it up. My goal is to code things that others can easily modify later.
2. Many of my projects due date are coming.
Regards,
Hi Yellow,
no problem, thanks for the reply :-) There is no hurry at all. Maybe I will just hack it into my copy of the cross sell code FTB. And when you got a new version ready including a cross sell copier I will update to that version.
I also have a modified xsell_products.php file which adds Buy Now buttons and quantity inputs and such to the catalog side of xsell. It was not intended for public release, but it might be handy as an example (it's works without problems, but it a.o. includes hardcoded texts). I don't know if you have plans to release a full xsell version and if you're interested, but if you are I can post or PM the code (but if you are not interested this thread might not be the best place to post it, I don't want to hijack the thread...).
Hi Paulm,
I would definitely be interested in adding an add to cart button along with quantity box to the cross sell items! That would save extra clicks for my customers and streamline their shopping experience. Please post the code either here or in a new thread. I think it should be added to the mod, it's a very practical function!
Thanks!
Matt
Actually, my current mod does not touch any file belongs to the old Cross-Sell mod, which is working just fine. I will have to contact the author of that mod, asking for his permission before making any change.
My plan for all my mods, is to eventually move all the logic functions into classes, and clean up the code and html to make it easier for others to make any change.
Hi,
I've installed Advanced Cross sell as well as the original cross sell mod (as required) and it seems to run ok but the cross sell products are not showing up under the products. In other words nothing has changed from before I installed the mod. Is this a java problem? I've read some of the entries here and I have both the store and the js folder installed in root so I can't figure out what's wrong. ANy clues?
Jason