Jump to content

carlost

Members
  • Content count

    211
  • Joined

  • Last visited

Everything posted by carlost

  1. carlost

    GOOGLE CHECKOUT IPN

    Hi Ski, I had already downloaded and implemented the EXTRAS optional modifications. My problem is not in viewing the numbers. My problem is, I am not getting anything added to the database to begin with, in neither table (google_checkout_logs & orders). Nor do I get any info in the google_log.txt file). I have only tested in the sandbox environment. I am a little confused about the google_log.txt file, as I thought to begin with it was meant for debugging, and therefore I assumed that there wouldn't be information inserted if there were no problems. However, I am under the impression now, from others experiences shared here that order information is inputted into google_log.txt as a regular part of the contributions process. So, I am just wondering if you might have any thoughts (assuming for the moment that my install is correct) as to why I wouldn't be getting the Google Order ID Number inserted into the google_checkout_logs & orders tables? Regards, CT
  2. carlost

    GOOGLE CHECKOUT IPN

    Hello, If anyone has an example of a .htaccess file that prevents access, but still allows the information to be written, it would be much appreciated. I have no clue as to what's needed here. Regards, CT
  3. carlost

    GOOGLE CHECKOUT IPN

    Hello Again, I don't know if this is what you're experiencing, but if two addresses are involved (customers oscommerce address is different than his or her Google address), and if the address used in oscommerce, is not in a tax zone, no matter if the address used for Google is, it won't show as taxable because the original address is what is processed. Maybe in time someone will come up with a way to prevent this from happening, or at least flag it in some manner. Regards again, CT
  4. carlost

    GOOGLE CHECKOUT IPN

    Hello, This contribution already supports The CCGV gift vouchers & Discount Coupons contribution. But you have to modify the google_checkout_process.php file to match the modifications made to your checkout_process.php file. As is, I don't think it supports any other discount coupon contribution. In my install, if using a Gift Certificate to pay for the entire order, you tick the "use available gift certificate amount" checkbox, and no matter if any other payment option is selected (including Google Checkout IPN), or if no payment option is selected - clicking through the rest of the checkout process brings you to checkout_success.php. Regards, CT
  5. carlost

    GOOGLE CHECKOUT IPN

    Hello, I'm in the states, I was just stating that the code did work for me. Sorry for the confusion. Regards, CT
  6. carlost

    GOOGLE CHECKOUT IPN

    Hello, I'm wondering about other experiences around two things. I cannot get the Google order number, via the call back in a testing environment. I get no errors as far as I can tell; I just don't get the Google order number updated to the data base in either the google_checkout_logs table or the orders table. So, I don't get status updates either. I've tried the suggested (adding (int)), still nothing. I am hoping that this is maybe specific to my testing environment. However, I have the same situation with several different testing environments. The second thing is: I just became aware that options/attributes are not being shown in the Google cart. They are being passed through to the order via google_checkout_process.php so it's not an imperative problem, but I'm thinking it's a little less than what a customer might expect to see. If anyone has addressed this already, I'd be interested to know about it. Regards, CT
  7. carlost

    GOOGLE CHECKOUT IPN

    Hello Ski! Welcome, and thank you for all that you do! The contribution works quite a bit better already due to your involvement - again, thank you for all that you do! Just to let you know, this works well for me - again, again, thank you for all that you do! Regards, CT
  8. carlost

    GOOGLE CHECKOUT IPN

    The above code modification is incorrect (concerning the "admin/categories.php" file, and "7) Replace with:"). It should be: </tr> <!-- prevent GCIPN payment option --> <tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_GOOGLE_PAYMENT_PRODUCT; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_pull_down_menu('products_google_payment_product', $google_payment_product_array, $pInfo->products_google_payment_product); ?></td> </tr> <!-- /prevent GCIPN payment option -->
  9. carlost

    GOOGLE CHECKOUT IPN

    Hello, The following modifications will allow you to select whether or not a product can be purchased through the Google Checkout IPN, on a per product basis. It is by default set for each product to be able to. To set a product to not be able to be purchased using the Google Checkout IPN payment option - in the admin ui's product page (categories.php) you just set the newly created "Allow Google Payment:" drop down to "No". Though it is presented here based on a vanilla 2.2 install, it's not been tested on a vanilla install. It was originally done for a heavily modified install. It's been put together by mimicking code from oscommerce and several oscommerce contributions, and it is not likely coded efficiently, nor prudently. I don't even know that all the code is necessary. I do know it works well in my modified environment. As an aside, I've used the same/similar procedure/process to make several different per product switches/flags and triggers. Regards, CT In: admin/categories.php 1) Find: 'manufacturers_id' => tep_db_prepare_input($HTTP_POST_VARS['manufacturers_id'])); 1) Replace with: 'manufacturers_id' => tep_db_prepare_input($HTTP_POST_VARS['manufacturers_id']), // prevent GCIPN payment option 'products_google_payment_product' => tep_db_prepare_input($HTTP_POST_VARS['products_google_payment_product'])); // /prevent GCIPN payment option 2) Find: $product_query = tep_db_query("select products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_tax_class_id, manufacturers_id from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); 2) Replace with: // prevent GCIPN payment option (added: , products_google_payment_product) $product_query = tep_db_query("select products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_tax_class_id, manufacturers_id, products_google_payment_product from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); // /prevent GCIPN payment option (added: , products_google_payment_product) 3) Find: tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), " . (empty($product['products_date_available']) ? "null" : "'" . tep_db_input($product['products_date_available']) . "'") . ", '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')"); 3) Replace with: // prevent GCIPN payment option (added: , products_google_payment_product) tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id, products_google_payment_product) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), " . (empty($product['products_date_available']) ? "null" : "'" . tep_db_input($product['products_date_available']) . "'") . ", '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')"); // /prevent GCIPN payment option (added: , products_google_payment_product) 4) Find: 'manufacturers_id' => ''); 4) Replace with: 'manufacturers_id' => '', // prevent GCIPN payment option 'products_google_payment_product' => ''); // /prevent GCIPN payment option 5) Find: $product_query = tep_db_query("select pd.products_name, pd.products_description, pd.products_url, p.products_id, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, date_format(p.products_date_available, '%Y-%m-%d') as products_date_available, p.products_status, p.products_tax_class_id, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); 5) Replace with: // prevent GCIPN payment option (added: , p.products_google_payment_product) $product_query = tep_db_query("select pd.products_name, pd.products_description, pd.products_url, p.products_id, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, date_format(p.products_date_available, '%Y-%m-%d') as products_date_available, p.products_status, p.products_tax_class_id, p.manufacturers_id, p.products_google_payment_product from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); // /prevent GCIPN payment option (added: , p.products_google_payment_product) 6) Find: $tax_class_array = array(array('id' => '0', 'text' => TEXT_NONE)); 6) Replace with: // prevent GCIPN payment option $google_payment_product_array = array(array('id' => '1', 'text' => TEXT_YES), array('id' => '0', 'text' => TEXT_NO)); // /prevent GCIPN payment option $tax_class_array = array(array('id' => '0', 'text' => TEXT_NONE)); First Find: TEXT_PRODUCTS_PRICE_GROSS 7) Then find 2 lines below: </tr> 7) Replace with: </tr> // prevent GCIPN payment option <tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_GOOGLE_PAYMENT_PRODUCT; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_pull_down_menu('products_google_payment_product', $google_payment_product_array, $pInfo->products_google_payment_product); ?></td> </tr> // /prevent GCIPN payment option 8) Find: $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); 8) Replace with: // prevent GCIPN payment option (added: , p.products_google_payment_product) $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id, p.products_google_payment_product from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); // /prevent GCIPN payment option (added: , p.products_google_payment_product) 9) Find: $products_query = tep_db_query("select p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p2c.categories_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_id = p2c.products_id and pd.products_name like '%" . tep_db_input($search) . "%' order by pd.products_name"); 9) Replace with: // prevent GCIPN payment option (added: , p.products_google_payment_product) $products_query = tep_db_query("select p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p2c.categories_id, p.products_google_payment_product from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_id = p2c.products_id and pd.products_name like '%" . tep_db_input($search) . "%' order by pd.products_name"); // /prevent GCIPN payment option (added: , p.products_google_payment_product) 10) Find: $products_query = tep_db_query("select p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by pd.products_name"); 10) Replace with: // prevent GCIPN payment option (added: , p.products_google_payment_product) $products_query = tep_db_query("select p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.products_google_payment_product from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by pd.products_name"); // /prevent GCIPN payment option (added: , p.products_google_payment_product) 11) Find: $contents[] = array('text' => '<br>' . TEXT_PRODUCTS_AVERAGE_RATING . ' ' . number_format($pInfo->average_rating, 2) . '%'); 11) Replace with: $contents[] = array('text' => '<br>' . TEXT_PRODUCTS_AVERAGE_RATING . ' ' . number_format($pInfo->average_rating, 2) . '%'); // prevent GCIPN payment option if ($pInfo->products_google_payment_product == "1") { $google_payment_product_indicator = TEXT_YES; } else { $google_payment_product_indicator = TEXT_NO; } $contents[] = array('text' => '' . TEXT_PRODUCTS_GOOGLE_PAYMENT_PRODUCT . ' ' . $google_payment_product_indicator . ''); // /prevent GCIPN payment option ---------------------------- In: admin/includes/languages/english/categories.php 1) Find: ?> 1) Replace with: // prevent GCIPN payment option define('TEXT_PRODUCTS_GOOGLE_PAYMENT_PRODUCT', 'Allow Google Payment:'); // /prevent GCIPN payment option ?> ---------------------------- In: checkout_payment.php 2) Find: $selection = $payment_modules->selection(); 2) Replace with: $selection = $payment_modules->selection(); // prevent GCIPN payment option $order->info['g_payment'] = $cart->g_payment; if (($cart->g_payment) > 0) { for($i=0, $n=sizeof($selection); $i<$n; $i++) { if($selection[$i]['module'] == MODULE_PAYMENT_GOOGLE_TEXT_TITLE) { array_splice($selection, $i, 1); break; } } } // /prevent GCIPN payment option ---------------------------- In: includes/classes/shopping_cart.php 1) Find: var $contents, $total, $weight, $cartID, $content_type; 1) Replace with: // prevent GCIPN payment option (added: , $g_payment) var $contents, $total, $weight, $cartID, $content_type, $g_payment; // /prevent GCIPN payment option (added: , $g_payment) First Find: function calculate() { 2) Then find 2 lines below: $this->weight = 0; 2) Replace with: $this->weight = 0; // prevent GCIPN payment option $this->g_payment = 0; // /prevent GCIPN payment option 3) Find: $product_query = tep_db_query("select products_id, products_price, products_tax_class_id, products_weight from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); 3) Replace with: // prevent GCIPN payment option (added: , products_google_payment_product) $product_query = tep_db_query("select products_id, products_price, products_tax_class_id, products_weight, products_google_payment_product from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); // /prevent GCIPN payment option (added: , products_google_payment_product) 4) Find: if ($product = tep_db_fetch_array($product_query)) { 4) Replace with: // prevent GCIPN payment option $products_google_payment_product = $product['products_google_payment_product']; // /prevent GCIPN payment option if ($product = tep_db_fetch_array($product_query)) { 5) Find: $this->total += tep_add_tax($products_price, $products_tax) * $qty; 5) Replace with: $this->total += tep_add_tax($products_price, $products_tax) * $qty; // prevent GCIPN payment option $this->g_payment += ($products_google_payment_product == 1)?0:(tep_add_tax($products_price, $products_tax) * $qty); // /prevent GCIPN payment option 6) Find: $this->total += $qty * tep_add_tax($attribute_price['options_values_price'], $products_tax); 6) Replace with: $this->total += $qty * tep_add_tax($attribute_price['options_values_price'], $products_tax); // prevent GCIPN payment option $this->g_payment += ($products_google_payment_product == 1)?0:($qty * tep_add_tax($attribute_price['options_values_price'], $products_tax)); // /prevent GCIPN payment option 7) Find: $this->total -= $qty * tep_add_tax($attribute_price['options_values_price'], $products_tax); 7) Replace with: $this->total -= $qty * tep_add_tax($attribute_price['options_values_price'], $products_tax); // prevent GCIPN payment option $this->g_payment -= ($products_google_payment_product == 1)?0:($qty * tep_add_tax($attribute_price['options_values_price'], $products_tax)); // /prevent GCIPN payment option ---------------------------- added sql: ALTER TABLE `products` ADD `products_google_payment_product` TINYINT( 1 ) DEFAULT '1' NOT NULL; END
  10. carlost

    GOOGLE CHECKOUT IPN

    Hello Ski, I just want to say well done! And, thanks for your time and efforts here! Regards, CT
  11. carlost

    GOOGLE CHECKOUT IPN

    Hello, The contribution already has code for CCGV gift vouchers & Discount Coupons written into it in the includes/modules/payment/google.php file. I am now assuming the discount coupons you are referring to is a separate, different contribution. I wouldn't know how to add the code for it. Maybe someone else would. Regards, CT
  12. carlost

    GOOGLE CHECKOUT IPN

    Hello, I believe the contribution is actually setup to use the ICW CREDIT CLASS Gift Voucher System. As well, I use it, and it works fine with the exception that's noted in the readme.txt. If you have any standard payment module setup (example: check/money order), and it works, you can likely rule out the checkout_confirmation.php file as being a problem. Regards, CT
  13. carlost

    GOOGLE CHECKOUT IPN

  14. carlost

    GOOGLE CHECKOUT IPN

    Hello, Not sure what you're saying here. If it is that you are getting back information based on your live Google Merchant ID & Merchant Key numbers, which are separate, and different from your Sandbox Merchant ID & Merchant Key numbers - where do you have your live Google Merchant ID & Merchant Key numbers inserted? Regards, CT
  15. carlost

    GOOGLE CHECKOUT IPN

    Hello, Just fishing some. Maybe try: chmod gclog/ to 777 & log.txt 666. If you would then like to post your checkout_process.php file here, might be able to determine something from it. Regards, CT
  16. carlost

    GOOGLE CHECKOUT IPN

    Hello, You shouldn't be getting to the checkout_success.php file's page. The following might help. In google_checkout_process.php, somewhere above: require(DIR_WS_INCLUDES . 'application_bottom.php'); find code snippet similar to: // load the after_process function from the payment modules $payment_modules->after_process(); remove (cut) it from where it is, and find code snippet similar to: tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL')); and, replace it with the (first) code snippet. ----------------------------------------------------------- So to reiterate, where: tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL')); was, should now be: // load the after_process function from the payment modules $payment_modules->after_process(); instead. Hope this helps some. Regards, CT
  17. carlost

    GOOGLE CHECKOUT IPN

    Hello, If there have been any changes/modifications made to your oscommerce's checkout_process.php file, it is likely those same changes will need to be made to the GOOGLE CHECKOUT IPN's google_checkout_process.php file. As oscommerce's checkout_process.php file processes the oscommerce checkout, similarly does the GOOGLE CHECKOUT IPN's google_checkout_process.php file process the Google Checkout. Regards, CT
  18. carlost

    [CONTRIBUTION] CCGV (trad)

    Hello All! Anyone have any idea of how I might go about preventing just the "Gift Certificate" product from being displayed as part of the "select which updates" list on checkout_success.php page? It's just a small thing, but I sure would like to know a way to distinguish it from regular products, so that it doesn't display on this page when purchased. Thanks in advance. Carlos
  19. carlost

    [Contrib] Make An Offer

    Greyson, The payment page/function is now fully working. However, it's not yet been made into a useable contribution, this is the next step, time permitting! Regards, Carlos
  20. carlost

    [Contrib] Make An Offer

    Hello Greyson! The payment page/function is not fully working yet. It has some problems that so far, are beyond my ability to correct. The core of it works, and I am at this point almost daily playing around with it. My intention is to make it into a contribution whenever I can get it to work properly. This will likely take a bit of time though; first to get it working fully, and second to separate it from this heavily modifed application, so that it will be understood, and readily implemented into a vanilla osc application. It seems I missed my window of opportunity to get some help from Howard, which would have been great as it is this "Make An Offer" contribution mostly, along with a couple of others that the "Payment" ability is based on. If you like I will let you know when it is working properly, and perhaps then you might help me to get it into a contribution form. You are welcome to any specific files I have, if you think you might be able assist in getting it to work properly. Well done on the Red Cross Site... it looks great! Regards, Carlos
  21. carlost

    [Contrib] Make An Offer

    Hello Howard! Do you know, I was not even aware that you had taken the time to respond to my post of a couple of months ago. So, first let me say thank you. I have not been able to spend any time with my project for awhile. Sometimes I get just so far, and can?t get any further, and I have to leave it be or go crazy! Usually I don?t let this much time go by, but other things of life have come up. And again, I didn?t know you had responded. By the way I am the one who was trying to combine a few contributions, including "Make An Offer" to make a sort of hybrid contribution. If you would be interested still in seeing what I've gotten done so far, I would love to show it to you. I had managed to solve some of the problems I originally asked for some advice about. There are however some things that I have not been able to figure out. It is my intention to one day (I say one day because I have been working on this, on and off for a very long time now) offer my heavily modified application as part of an osc specific hosting package of some sort. I'll understand if your hands are way full, with your now 4+ month old little daughter... a belated congratulations by the way! If you do have some time to talk about this a little bit, please let me know... Any insight or thought(s) would be wonderful! It can be seen HERE. Then clicking on "Gift Certificate" and/or "Make A Payment". As you will be able to tell it is not a live shop, so please fell free to explore in any way you might like to. And of course if you would like to see any of my files you are more than welcome to. ----------------------------------------------------- I have not been able to figure out how to prevent either the gift certificate or the payment from triggering the "free shipping above" feature, when "free shipping above" is activated. I have not been able to get the "Make A Payment" to go directly to checkput_payment.php, as the gift certificate does. (Because there is an option field, I think, there are a few other little problems with the "Make A Payment" product) Thanks in advance for your time. Regards, Carlos P.S. Sorry about the pop the top ranting!
  22. Hello! Anyone have a clue as to how I can add a small amount of HTML to the checkout_process.php file. I am using ECHO payment processing, and when a credit card payment is not accepted, for whatever reason, the "Transaction Denied" statement is posted through the checkout_process.php file. What happens is the customer is shown the "Transaction Denied" text, and nothing else - leaving them stranded on the page. I simply want to put a table with my logo, and a link back to the checkout_payment.php page - so that the customer can reenter payment info. When I add the HTML, I end up with what I want appearance wise, BUT, with the following warning: "Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/checkout_process.php:182) in /home/ xxxxx /public_html/includes/functions/general.php on line 29" This happens when testing using the OSC cc.php payment. When using the ECHO payment module - it will not go through at all, only giving me a ERROR response from ECHO. Any thoughts, input would be much appreciated. Thanks in advance. Carlos Thomas
  23. Hello Hanjo, Looks like you are using the wrong .htaccess example. The second one is for if you have a root install (shop.modelbrouwers.nl). Your install uses the catalog directory (shop.modelbrouwers.nl/catalog/) , so you need the first example, and you need to change: RewriteBase /directory/ To: RewriteBase /catalog/ Hope that helps some. Regards, Carlos
  24. carlost

    [CONTRIBUTION] CCGV (trad)

    Hello, If I add an attribute to my gift certificate (product), it is no longer recognized as a virtual product, and thus no longer bypasses checkout_shipping.php, to go directly to checkout_payment.php. Any ideas on how I can change this so that my gift certificate (product), with an attribute added, will still be recognized as a virtual product, and still bypass checkout_shipping.php, going directly to checkout_payment.php. Thanks in advance. Regards, Carlos
  25. carlost

    [Contrib] Make An Offer

    Hi All, Howard (wheeloftime)... I am trying to put together features similar to what is being offered to be installed for $50.00 on the first page of this "Make An Offer" forum. ----------------------------------------------- Actually, I think it is a rude and inappropriate advertisement posting / response, for gain, in a forum meant for helping. Particularly since I have seen the name (PopTheTop) in several forums looking for help with one thing or another. I find this person's attitude to be really offensive overall. ----------------------------------------------- Anyhow, what happened to me is - I stumbled upon this contribution "Make An Offer", and its forum, and read through it because I have been wanting to add a couple of features to my osc application: (1) I wanted customers who purchase a gift certificate via my already installed "Credit Class & Gift Voucher" contribution - to be able to just insert whatever amount they want to via a text input field. Presently you have to set an amount (as you do with any product), and a customer can increase it by adding more quantities of it. (2) I wanted to have a "Payment" page, where a customer can insert any amount for payment, as well as a brief description of what the payment is for, also using text input fields. ----------------------------------------------- So, I was quite surprised to find (I have looked quite extensively for some time now, and not been able to find as a contribution) pretty much, just what I was looking for, as I mentioned already, on the first page of this forum. Only it's not a contribution... Please don't misunderstand me. In an appropriate and proper setting, offering an osc service, or associated work for a fee is more than okay with me. It is just the way that it was done here in the first page of this forum, by this pophisload little person - that just really irked me. As well, as I read through the forum, his whole attitude sucks, as though he's better than, and trying to show off or something. Reminds me of a grade school hall monitor wannabe... child. ----------------------------------------------- Okay, I really need to put a zip to my typing lip - and get on with the real purpose of my writing here now. Maybe too, I need to apologize for ranting on some. ----------------------------------------------- Presently, using some of the code from three separate contributions (Make An Offer, Options Type, & Maximum Order Quantity) - I am almost able to achieve what I am looking for. From the Make An Offer contribution, I am able to get a text input field to carry an inserted $ amount over into the shopping cart. From the Options Type contribution, I am able to get a text input field to carry an inserted brief payment description over into the shopping cart as an attribute. From the Maximum Order Quantity contribution, I am able to prevent more than one gift certificate and/or more than one payment amount, to be processed per order. I am afraid though, the finishing touches are beyond my limited ability to customize some, using others code, which is all that I can really do. (Though I am still, searching through the forums, and contributions, for more info on how I might accomplish what I want to.) ----------------------------------------------- What's left that needs to be done is: (1) Need to be able to validate the two text input fields involved, which are generated in product_info.php (To be able to control the $ amount range, & to insure a description is inserted - would like to do this using an "alert" statement.) (2) Presently, the "Gift Certificate" (product) page passes through the checkout procedure going from the cart directly to checkout_payment.php, skipping checkout_shipping.php. The "Payment" (product) page does not (I do know it has to do with the "Product Description" text attribute that carries through). It goes through checkout_shipping.php first - this needs to be changed to do the same as the "Gift Certificate" (product) page. (3) When using the Free Shipping Over A Given Amount feature, I need to be able to exclude both the "Gift Certificate" (product) amount, and/or the "Payment" (product) amount - from being included in the tally/sum. (4) In most files that I have tried to, I am able to separate the 2 products (which in my case are 1 & 2 "Gift Certificate" & "Payment" respectively) by using some variation of (($products['products_id'] == 1) && ($products['products_id'] == 2) ) with an "if" statement, or "if else" statements. I have not been able to figure out, or find an example of the variation that works with the checkout files (checkout_shipping.php, checkout_payment.php, checkout_confirmation.php, & checkout_success.php) I need to, to be able to custom the info presented - which will depend on which products are purchased (different for 1 & 2, than the rest). To the point of my telling all this here to you Howard: I am trying to generate some interest in completing these last areas, which I so far, have not been able to do. I am very close though. Presently I am working in an XAMPP environment on my computer. So, if you or anyone else has an interest to see what I've got done so far, with an eye towards collaborating, I would be glad to publish it on my server. It also has the potential to be a useful hybrid contribution when finished. And of course, as it should be - a FREE contribution! Regards, Carlos P.S. Howard, please forgive my posting all this here. It just seemed like one of the places to do it, for more than one reason.
×