Active
Project:
UC Upsell
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2010 at 02:17 UTC
Updated:
10 May 2011 at 03:50 UTC
Due to the nature of my ajax style cart View cart is most likely to be skipped by people....is it feasible show this block also in the checkout page?
Comments
Comment #1
planctus commentedI did this:
i've created a file named uc_upsell_checkout_pane.inc, here is the content:
Then you need to run this code, you might include
include_once 'uc_upsell_checkout_pane.inc';it in a custom module renaming file and its functions consistently.But there's also a problem while using
uc_upsell_resolve_associates(&$msg = '')Because it checks for the 'cart' path only.
So, you might copy that function simply changing its name and changing this
if ($dpath == 'cart')To this:
if ($dpath == 'cart' || $dpath == 'cart/checkout')Otherwise you could do this directly in the upsell module context, but this would break your new feature after ugrading the module...
I don't know, this could also lead to a patch for the upsell_module, i just wanted to share it.
See you,
Da.
Comment #2
torgospizzaThanks, I'll review this shortly.
Comment #3
mattcasey commentedsubscribing