HomeHome Product Discus... Product Discus...SmithCartSmithCartAffiliate URL SetupAffiliate URL Setup
Previous
 
Next
New Post
10/24/2012 1:24 PM
 
I am setting up a Vacation Rental site and plan on using the Smith Cart more as a products listing to display properties, but the actual booking of the properties will be done on a different url. They use Escapia for their bookings. This provides a lightbox option on their existing site, which I'd like to replicate. You can go to this url and click on the "BOOK NOW" button to see the interaction.

http://www.obrhi.com/hawaii/hokua-har...

I'd like to replicate this action with the "Add To Cart" option in Smith Cart. So when they click on "Add To Cart" it will popout the same lightbox and booking window. How do I do this, I thought it was by entering the url in the "Affiliate URL" option in the product setup itself. But this didn't work.
Thanks. Here's the code for the book now on their existing site...

<div class="book_now_red"><a onclick="return hs.htmlExpand(this, { objectType: 'iframe', minWidth: 860, objectWidth: 860, objectHeight: 700 } );" href="http://bookme.obrhi.com/Site/Overview..." title="Book the Hokua Harbor Views Today and Save on Your Hawaiian Vacation">&nbsp;</a></div>


 
New Post
10/25/2012 12:20 PM
 
Hi Paul,
Currently, the add to cart button on the product list and product details page is programmed to an event in code behind that executes c# code to add the product to the cart. To rewire the add to cart button on the product list page you can edit the productlist.ascx and set the visible property of the add to cart button to false. Then create your own add to cart button that displays the lightbox popup for your booking software you described.

Hope this helps!


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
10/25/2012 12:51 PM
 
I understand this concept. The reason I ask, is in the "Product Setup" options, under "Product Options" there are the 2 affilliate checkboxes at the bottom. When you mouseover the "Affiliate URL" help icon, it says "When the user clicks the "Add to Cart" button the cart will open a new window the  link entered and the user will complete the checkout for the products on the affliiate's site."
Please see attached screenshot...
 
New Post
10/25/2012 12:57 PM
 
Could not upload attachement. It said "Error: Is currently unavailable.
 
New Post
10/25/2012 5:01 PM
 
The Affiliate URL field is used for Affiliate networks like commission junction and redirects the user off your site to the affiliate network page. The lightbox popup you want to code into the add to cart button requires a div with specific properties to make the lightbox work so I dont think you will be able to use the Affiliate URL field for your lightbox popup. I think the best approach is to hide the existing add to cart button and create your own button as described in my post above.



Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartAffiliate URL SetupAffiliate URL Setup