Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cDGo IT Consultancy

Members
  • Posts

    133
  • Joined

  • Last visited

Profile Information

  • Real Name
    Domé Giuliano
  • Gender
    Male
  • Location
    The Netherlands Almere
  • Interests
    Building great osCommerce shops for customers.
  • Website

Recent Profile Visitors

13,767 profile views

cDGo IT Consultancy's Achievements

  1. Hi, I'm trying to reset the given discount code once the customer has added it. I've tried to unset the session variable sess_discount_code by ajax, but the order total module of ot_discount still shows the discount. Any help is appreciated.
  2. What worked for me: In modules/payment/paypal_standard.php Replace this: Line 184 - 187 function confirmation() { global $cartID, $cart_PayPal_Standard_ID, $customer_id, $language, $languages_id, $order, $order_total_modules, $sendto, $billto, $shipping; if (tep_session_is_registered('cartID')) { With this And be ware of the 2 additional global variables! These are in use in my webshop, and I'm not sure if they are available in the vanilla installation And use you're own title text as this might also not be vanilla. function confirmation() { return array('title' => MODULE_PAYMENT_PAYPAL_STANDARD_TEXT_PUBLIC_TITLE); } function process_button() { global $cartID, $cart_PayPal_Standard_ID, $customer_id, $language, $languages_id, $order, $order_total_modules, $sendto, $billto, $shipping ,$currency, $paypal_fee; if (tep_session_is_registered('cartID')) { And remove these lines: Line 407 - 412 return false; } function process_button() { global $language, $customer_id, $order, $sendto, $currency, $cart_PayPal_Standard_ID, $shipping, $order_total_modules, $paypal_fee; My shop is very heavilly customized, so use at your own risk. All suggestions to further improve are welcome!
  3. Hi, At the moment the official Paypal App v5.018 (Paypal Standard) module creates an order when landing oin the checkout_confirmation.php page instead of after the customer confirms the order on this page like all other payment modules. Is there a step by step instruction how to change this behavior? Problem is that most often customers only want to check the totals on the confirmation page (like shipping and payment fees) and than go back to order more products or product quantities. The shopping cart already shows these fees, but they do tend to act this way, leaving us with multiple orders. The customer emails or calls in panic, that they only want "one".
  4. Hi Lee, I'm trying to get the same done here. Did you made any progress? Domé
  5. This is just a simplified version, but install the plugin as supposed and than add this: After: if (isset($_POST['action']) && ($_POST['action'] == 'process') && isset($_POST['formid']) && ($_POST['formid'] == $sessiontoken)) { $process = true; Add: if (MODULE_FOOTER_MAILCHIMP_STATUS == 'True' && isset($_POST['newsletter']) && $_POST['newsletter'] == 1) { include('ext/api/mailchimp_v3/MailChimp.php'); $key = [your api key]; $list_id = [your email list id]; $array = array('email_address' => $_POST['email_address'], 'merge_fields' => array('FNAME' => $_POST['firstname'], 'LNAME' => $_POST['lastname']), 'status' => 'subscribed'); $MailChimp = new MailChimp($key); $result = $MailChimp->post('/lists/' . $list_id . '/members', $array); } Replace [your api key] with your api key like '123456789' [your email list id] with your email list id like '98765'
  6. This is a nice addon, thank you for sharing. The SEO section isn't divided into the languages, all fields for both Dutch and English (in my situation) are on the same page. Fix: Find: <?php for ($i=0, $n=sizeof($languages); $i<$n; $i++) { echo '<li><a href="' . substr(tep_href_link('categories.php', tep_get_all_get_params()), strlen($base_url)) . '#section_general_content_' . $languages[$i]['directory'] . '">' . $languages[$i]['name'] . '</a></li>'; } ?> and replace the word section_general_content for section_seo_content. So it will read like this: echo '<li><a href="' . substr(tep_href_link('categories.php', tep_get_all_get_params()), strlen($base_url)) . '#section_seo_content_' . $languages[$i]['directory'] . '">' . $languages[$i]['name'] . '</a></li>';
  7. After stripping down everything, but this attribute form, it now shows the index.php/dashboard. So it must be in this contribution it self where there's a capture of the data.
  8. Hi Raiwa, Thanks for the update. I Always used this contribution in my 2.2 shops, but in the 2.3.4BS version, it shows me the full admin page including menubar of the edited product instead of the attribut set form. Just to rule out influence of other contributions, I've also tested it with the basic (clean) 2.3.4BS version of categories.php which just gives the same issue. Any ideas?
  9. Maybe it's been asked before, but reading through 175 pages is just a bit too time consuming. I found this issue when using product options. when I got an url like product_info.php?products_id=13{1}11 it will not be rewriten to the products friendly name/url nor will it preselect the chosen options in the products options list. Anyone have a suggestion why at least the friendly name wasn't used? BTW: If you remove the options part, it will rewrite the url to the friendly name, but ofcourse will noet pre selct the options value
  10. Not sure why I can't add this to the Original addon, but just a little adaption for PHP 7.2 and Dutch language files oscom-product-sort-within-category-bs-php72.zip
  11. Allready did that, but just wondering why it wasn't done in the addon it self.
  12. Hi, Just out of curiosity..... Why not integrate mailchimp API in the create_account.php? Why would you have your anonymus visitors on mailchimp, and registered customers in osCommerce?
  13. Is there a way to add files outside of the admin root? I've added AJAX Attribute Manager (#4063) but all files are in their own (sub)folder. Or should I enter all sperate files in the database?
  14. Lildog, You're right, that's just what I meant. I've got over 150 contribs running in my shops. So eager to help you with testing!!!!!!!!!!!!!!!!!!!!! :lol: :thumbsup:
×
×
  • Create New...