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

Notification

Icon
Error

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

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
andreym  
#2 Posted : Wednesday, May 12, 2010 12:32:11 PM(UTC)
andreym

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:

Code:

// 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:

Code:
//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
Guest
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.