Forum Replies Created
-
AuthorPosts
-
amin007Participant
Alrighty… that’s good.
amin007ParticipantActually my bad on the changes I recommended for the “wp_eStore1.php” file. I forgot that this functionality has been slightly changed/moved.
Please do the changes I suggested for the “wp_eStore1.php” file in the “eStore_payment_submission.php” file. Search for the following function in that file:
function eStore_get_custom_field_value1()
also don’t forget to upload the modified version of the file to your server overwriting the existing one.
amin007ParticipantAlso, you should not do any other changes than what I suggested… it might muck up something else (e.g. adding the variable directly to the custom field)
amin007ParticipantJust from the Debug output I don’t see any text output (eg. “Preparing JROX affiliate commission”) from the bit of code we added to the “paypal.php” file.
This leads me to believe that the file didn’t get uploaded to your server. You need to make sure that all the files you updated is uploaded to your server which should overwrite the existing ones.
amin007ParticipantOkay lets output some debug to see if any value is missing. Please replace the bit of code that you put in “paypal.php” earlier with the follwoing bit:
$this->debug_log(‘Preparing JROX affiliate commission.’,true);
$sale_amt = $this->ipn_data;
$trans_id = $this->ipn_data;
$jrox_cookie = $customvariables;
$this->debug_log(‘Trans ID: ‘.$trans_id.’ Sale amount: ‘.$sale_amt.’ Cookie value: ‘.$jrox_cookie,true);
$JAMIntegrate = file_get_contents(“http://www.myactualdomainname.com/affiliates/sale.php?amount=”.$sale_amt.”&trans_id=”.$trans_id.”&custom_mid=”.$jrox_cookie);
$this->debug_log(‘Awarding JROX affiliate commission :’.$JAMIntegrate,true);
then save and upload the file to your server and do a test transaction (make sure you have the “Enabel Debug” checkbox checked from the settings menu of the plugin). When you process a transaction with the debug option enabled it will log everything int he “ipn_handle_debug.log” file. Please post the contet of that file or email it to me.
Also can you please post a link to the page where you have the payment button on your site?
amin007ParticipantThis has been fixed… sent you an updated copy.
amin007ParticipantYou should be able to use variation control to do that. The following URL should help:
The WP eStore uses an express checkout model to minimize hassles for customers when they buy a product (http://www.tipsandtricks-hq.com/ecommerce/wordpress-ecommerce-knowledgebase-523#express_checkout) so it doesn’t have the option to force a customer to register before they can buy. But it can be tweaked so it forces the customers to log in/register as a user on your WordPress system before they can make a purchase.
amin007ParticipantNow it becomes soooooo much easier… this is what I asked for when I mentioned how I integrated WP eStore with the iDev affiliate program.
Integrating WP eStore with JROX Jam Affiliate Software
1. Open the “wp_eStore1.php” file and find the following function:
function eStore_get_custom_field_value()
once you find it just add the following towards the end of the function (just before the return statement):
$name = 'jrox_cookie';
$value = $_COOKIE['jrox'];
$custom_field_val = append_values_to_custom_field($name,$value);That will add it to the custom field.
2. Now open the “paypal.php” file and search for the following line:
$this->debug_log(‘Updating Affiliate Database Table with Sales Data if Using the WP Affiliate Platform Plugin.’,true);
once you find that line add the following bit of code just before that line:
$sale_amt = $this->ipn_data;
$trans_id = $this->ipn_data;
$jrox_cookie = $customvariables;
$JAMIntegrate = file_get_contents(“http://www.mydomainname.com/affiliates/sale.php?amount=”.$sale_amt.”&trans_id=”.$trans_id.”&custom_mid=”.$jrox_cookie);
$this->debug_log(‘Awarding JROX affiliate commission.’,true);
That should do it. Let me know how you go.
amin007ParticipantCustomer should not be allowed to change the quantity after a coupon is applied to the cart. The application of coupon code may sound very simple but it’s actually not that simple because there are so many ways the customer can scam the system when you open the discount option. From a shop admin point of view you may not think about this much but some customers will try various dodgy things. Anyway, I have updated the cart so now it will show an warning when a customer tries to change item quantity after a coupon code has been applied to the cart.
amin007ParticipantYep, I added the pagination for category display… just need to do the final testing then will send you an updated version of the plugin.
amin007Participantam investigating this one.
amin007ParticipantHmmm.. the shopping cart looks completely different than the existing one. Maybe the update didn’t go smoothly. I will have to take a look at your system to see what is going on. I will send you an email.
December 21, 2009 at 6:40 am in reply to: How to display my picture in nextgen gallery with rows… #16889amin007ParticipantThis is something you will have to fix in your NextGen Gallery settings. I am not an expert on NextGen Gallery plugin but I do know that is a settings option somewhere that you can specify how many columns you want in your gallery display.
amin007ParticipantIf you upload the image using the “Media Uploader” or simple “FTP Client” it will have a static URL. Then you should be able to use that URL and it won’t matter if it’s a sub-page or parent page.
amin007ParticipantOkies we will do this via email.
-
AuthorPosts