Whispar1 Posted April 11, 2013 Share Posted April 11, 2013 (edited) I am having some issues transplanting the loyalty rewards module into the product page. I can not hook it into extra action left or right or product footer. Ideally I would like it called in the area on the attached screen. I did find this bit of code that I edited into product.tpl and it sorta works but only gives the message "No reward points for this product" http://svn.prestasho...ook/product.tpl Any tips would be appreciated? I want to be able to let customers know how many reward points the product qualifies for without having to add to cart (where it does show for example this message in shopping cart) By checking out this shopping cart you can collect up to 59 loyalty points that can be converted into a voucher of $11.80*. Edited April 11, 2013 by Whispar1 (see edit history) Link to comment Share on other sites More sharing options...
Whispar1 Posted April 11, 2013 Author Share Posted April 11, 2013 Since I can't seem to hook it anywhere useful on the product page, would it be possible to pull the code from say... the order page (see screen) and code it into product.tpl ? If so, how should I call it into the template? Link to comment Share on other sites More sharing options...
PascalVG Posted April 11, 2013 Share Posted April 11, 2013 Try this: Transplant a module: Module: Customer Loyalty and Rewards Hook into: "Extra actions on the product page (right column)" known as "DisplayRightColumnProduct" See if that works. 1 Link to comment Share on other sites More sharing options...
Whispar1 Posted April 11, 2013 Author Share Posted April 11, 2013 (edited) Thanks for the input Pascal. I do already have it hooked there in the BO but it is not showing in the FO. In fact that is the only place on the product page it will hook. Iv'e tried productFooter, extraLeft, etc.... I am not using the default theme so I know that is part of it. I am using one of presto-changeos modules and had to hook it into the productFooter because I technically do not have a right column. I seem to be able to figure out some other peoples issues but not my own Edited April 11, 2013 by Whispar1 (see edit history) Link to comment Share on other sites More sharing options...
Whispar1 Posted April 11, 2013 Author Share Posted April 11, 2013 Figured it out for anyone else that needs to do something similar. I forced a right hook location by adding {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} into my tpl in the location I wanted. Now a little styling and all is good. http://www.whisparde...atsby-duvet-set Link to comment Share on other sites More sharing options...
Recommended Posts