Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
03-05-2014, 05:32 AM #1
- Join Date
- Jun 2013
- Thanked 2 Times in 2 Posts
Pop Up box with fadded background appear on same page
I am currently working on a ecommerce site ,
- If the user press the "add to cart" button the shopping cart page(PHP) to be appear on the same page as pop-up box with fadded background like this jsfiddle sample, it coming well.
- But my shopping cart is another php file , so its not appearing in the same productview php file. Currently its appearing in shopping cart.php file with white background.
- I Need to appear it on the same product view page as pop-up of shopping cart.php file.
- At the same time if the user clicks the "ViewCart" symbol at the header the same shopping cart.php file should appear as pop-up .
- I dont want to repeat the shopping cart.php file in product view.php as well as header.php .
please give any suggestion ,
Where ever user clicks the "viewcart" or "Add to cart" the shooping_cart.php should appear on the same page.