Post by WilliamFlanagan » Sun Dec 30, 2012 1:55 am

Hello.

I hope this is the right place to post this, apologies if it isn't.

I'm wondering if anyone knows a way that I can display a particular module in checkout, but only after checkout is completed. I have a custom module that offers discounts on future orders and it isn't appropriate to display before the user checks out.

Thanks for any thoughts you can give. If you need more information, please ask.


William.

User avatar

Posts

Joined
Sun Dec 30, 2012 1:45 am

Post by pprmkr » Sun Dec 30, 2012 2:54 pm

Goto System - Design - Layouts

Edit Checkout and change route form checkout/ to checkout/checkout
Add new route Success, route checkout/success

Install your module on route Success

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by WilliamFlanagan » Sun Dec 30, 2012 11:07 pm

Hello ppmkr,

Thanks very much for your reply.
Goto System - Design - Layouts

Edit Checkout and change route form checkout/ to checkout/checkout
OK, did that.
Add new route Success, route checkout/success
I assume that you mean to add a new Layout called Success and make the route checkout/success. I did that, then I selected Success under Layout at the bottom of my module. But now I don't see the module after checkout, or during it, either.

Did I do something wrong?

Again, thanks very much for the help.

William.

User avatar

Posts

Joined
Sun Dec 30, 2012 1:45 am

Post by pprmkr » Sun Dec 30, 2012 11:54 pm

I tested with module Bestseller and after completing checkout it appeared on the success page.

When an other layout is selected, is your module working there?

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by WilliamFlanagan » Mon Dec 31, 2012 12:33 am

Hello pprmkr,

Yes, the module, and others, work in other locations.

Also, I set different module, a slideshow that is usually on the home page, to Success and it didn't show either. Wonder what I'm doing wrong...

This is OC 1.5.4 using the default theme, by the way.

Here's a screenshot of the three sections I edited: http://i1283.photobucket.com/albums/a55 ... ddc3ae.png

Thanks,

William.

User avatar

Posts

Joined
Sun Dec 30, 2012 1:45 am

Post by pprmkr » Mon Dec 31, 2012 1:18 am

Please check the layout: Checkout

Is the route changed into: checkout/checkout

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by WilliamFlanagan » Mon Dec 31, 2012 2:50 am

Sorry, I forgot to include that in the screenshots. I did change that:

http://i1283.photobucket.com/albums/a55 ... b1f0c3.png

User avatar

Posts

Joined
Sun Dec 30, 2012 1:45 am

Post by WilliamFlanagan » Tue Jan 22, 2013 1:24 am

So, can anyone help with this?

User avatar

Posts

Joined
Sun Dec 30, 2012 1:45 am

Post by amrutanikam » Fri Jul 05, 2013 10:06 pm

I have to display featured product module on success page but I am getting index page on shopping cart i.e on route
checkout/cart.


Please help me how to resolve it?

Newbie

Posts

Joined
Fri Jul 05, 2013 9:51 pm

Post by WilliamFlanagan » Tue Sep 24, 2013 10:32 am

Still can't figure this out. Anyone got any ideas? O0

User avatar

Posts

Joined
Sun Dec 30, 2012 1:45 am

Post by hostcomp » Tue Sep 24, 2013 10:35 am

*dupe*
Last edited by hostcomp on Tue Sep 24, 2013 3:29 pm, edited 2 times in total.

Image
Demo: http://sporktines.com/mrgd/admin/ Username: demo / Password: demo123
Admin Options: http://www.hostcompanion.com/make-refer ... index.html
=============================================================
Image
Demo: http://sporktines.com/pcdo/admin/ Username: demo / Password: demo123
Admin Options: http://www.hostcompanion.com/per-catego ... y-options/


User avatar
Newbie

Posts

Joined
Fri Jul 26, 2013 10:00 am

Post by hostcomp » Tue Sep 24, 2013 12:05 pm

I'm suspecting that there's something special about the checkout layout, perhaps because it's dealing with the checkout process there are some additional changes to add another route, and perhaps that's not covered in the Layouts FAQ.

I just did the following with no success on an OC 1.5.6 site:

*create a new layout called "Success" with the route set to 'checkout/success'
*modify the existing "Checkout" layout; changed 'checkout/%' to 'checkout/checkout'
*tried the banner module and the featured products modules with 'Layout' set to the newly-created 'Success' layout

On checking out, neither were shown during the checkout process (correct), but neither were shown on the success page after completing an order.

No errors in the UI, no errors in the OC log or php log, just a silent failure.

Are only certain modules compatible with the checkout layout?

Image
Demo: http://sporktines.com/mrgd/admin/ Username: demo / Password: demo123
Admin Options: http://www.hostcompanion.com/make-refer ... index.html
=============================================================
Image
Demo: http://sporktines.com/pcdo/admin/ Username: demo / Password: demo123
Admin Options: http://www.hostcompanion.com/per-catego ... y-options/


User avatar
Newbie

Posts

Joined
Fri Jul 26, 2013 10:00 am

Post by WilliamFlanagan » Wed Sep 25, 2013 12:53 am

Hey, hostcomp, I just tried your steps there, got the same results. You're not alone. ???

User avatar

Posts

Joined
Sun Dec 30, 2012 1:45 am

Post by pprmkr » Thu Sep 26, 2013 1:42 pm

In System - Design - Layouts :
Changed route form checkout/% to checkout/checkout
Added new layout ( Checkout success ) with route checkout/success

Installed Module Storelocator on layout Checkout success ( Module 3 )

You can test it on my demo
Note: Log in with admin, admin
Note2: Select Bank Transfer to complete an order

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands
Who is online

Users browsing this forum: No registered users and 45 guests