I have never had a need to do this so have never previously tried to do this.
Just did a quick test...
I don't seem to have any reference to "product_type" in the code so that should allow this to work.
Created a new "document product"
Cross sell with a normal "product general"
No problems in the admin.
Displaying the product info page of the "product general" item show the "document product" item as a cross sell, OK.
Displaying the product info page of the "document product" item DOESN'T show the "product general" item as a cross sell.
Not surprising as this uses the "document_product_info.php" (which is not customised)
instead of "product_info.php" which does have the cross sell display code.
So... I haven't tried it but it should be a relatively simple matter to add the cross sell code that was added to "product_info.php" to "document_product_info" as well.
Remember to copy the "document_product_info.php" to your overide directory.
And of course, don't use on a live store until you have confirmed that it works.
Let us know how you go?
I will put it down as a possible extension to the existing code.



Reply With Quote
