Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Wednesday, May 12, 2010 6:27:44 AM(UTC)

Rank: Newbie

Groups: Member
Joined: 5/11/2010(UTC)
Posts: 3

SO heres the website http://www.thegamebroker.com/printbig if you go to product and then to printing the compnonent shows up and does what its supposed to do since its teh evaluation, but once you hit submit it goes through and saves i guess but it doesnt add it to the virtuecart cart, so you cant cant check out, we are ready to buy this and its a joomla virtuemart product, what am i doing wrong
#2 Posted : Wednesday, May 12, 2010 12:32:11 PM(UTC)

Rank: Advanced Member

Groups: Member
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Actually you need to refresh page after upload and images will appear in the cart. You need set RedirectUrl parameter for Image Uploader. If you want redirect to the cart, then set index.php?page=shop.cart&option=com_virtuemart or set index.php?option=com_photoorder&view=photoorder to just refresh current page with image uploader.

To do it add the following code into the components/com_photoorder/views/order/tmpl/default.php file:


// Configure URL to redirect after upload
var redirectUrl = "index.php?option=com_photoorder&view=photoorder"; // Set to index.php?page=shop.cart&option=com_virtuemart if you need to redirect to the shopping cart page
iu.addParam("RedirectUrl", redirectUrl);

after this lines:

//Configure URL files are uploaded to.
iu.addParam("Action", "<?php print $options['action']; ?>");

Edited by user Wednesday, May 12, 2010 12:36:46 PM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.