Jump to content

De Dokta

Members
  • Content count

    329
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by De Dokta

  1. Support Thread for the new content module Modal Info Popup Layer for osCommerce 2.3.4BS Note: This content Module is for the bootstrap version of oscommerce 2.3.4 only! Download Link: http://addons.oscommerce.com/info/9204 If you want your customers to take note of certain informations, there is one way to make them aware by using a popup window or a layer. This contrib uses a bootstrap modal for this purpose. When a customer enters the shop the first time, a info popup layer is once laid over the page - regardless on which site the customer enters the shop. The individual messages can be created via a pop-up manager as plain text, html-text and/or graphics in the admin area.There you can also specify a start and an expiration date for the display of messages. The add-on is designed as content module, which means that no changes to core files (in the frontend) are neccessary. Only in the admin area two files (admin\includes\boxes\tools.php and admin\includes\languages\english.php) must be changed to add a new entry to the tools box. Tested with bootstrap-gold and FF 35, Google Chrome 37.0.2062.124, Opera 26.0 and IE 8. Please report any problems here. J.J.
  2. Hi I made a new version of my Latest News Multilingual Addon (http://addons.oscommerce.com/info/9147) as content module for BS-Gold. It displays news in a sliding or fading carousel which you can install on the index page or in the header area. With the exception of the index.php, which by default has (still) no hook, no core files must be changed. Download here: http://addons.oscommerce.com/info/9314 Demo here: http://www.video-stuff.de/demo/bootstrap Pls. report any problems, bugs etc. here. J.J.
  3. @@gvv Try this: In application_top.php in - case 'add_to_wishlist' - replace: tep_redirect(tep_href_link('wishlist.php', tep_get_all_get_params($parameters))); break; /* /Wish List End */ with: if(WISHLIST_REDIRECT == 'Yes') tep_redirect(tep_href_link('wishlist.php', tep_get_all_get_params($parameters))); break; /* /Wish List End */
  4. @@gvv Yes! For includes/modules/new_products.php e.g. it should be something like this: $new_prods_content .= tep_draw_button(TEXT_ADD_WISHLIST, 'glyphicon glyphicon-heart', tep_href_link('wishlist.php', tep_get_all_get_params(array('action')) . 'action=add_to_wishlist&products_id=' . $new_products['products_id']), NULL, NULL, 'btn-default btn-sm'); Add it where you want the wishlist button to appear. And in other modules similar.... J.J.
  5. De Dokta

    Invoice Editor 1.0

    @@ce7 1. No idea what went wrong. If you save the message and then generate a new pdf or html invoice/packingslip in the invoice editor the message should be displayed on your new invoice/packingslip. It does not work if you generate an invoice/packingslip in orders.php. 2. This has nothing to do with the invoice Editor, but that you have saved your logo with the "Interlaced" option. FPDF supports no "Interlaced" and for today's high-speed Internet connections, this option is also unnecessary!
  6. Hi 1. Definitions which you don't find in the Sqls you find in the appropriate language files - in this case admin/includes/your language/invoice.php and packingslip.php. 2. Have you entered the tables in admin/includes/database_tables.php? 3. Depends on what you want to change. But in principle correct! J.J.
  7. @@Patty Ok, the version I use is a little bit different: // If all is well, make the changes to the database if ($pass == 1) { tep_db_query("update customers set customers_password='" . tep_encrypt_password ($new_password) . "' where customers_id='" . (int)$customer_id . "'"); // Get the customer's information for the success message $customer_name_query = tep_db_query("select customers_firstname, customers_lastname, customers_guest from customers where customers_id='" . (int)$customer_id . "' and customers_guest = '0'"); $customer_name = tep_db_fetch_array($customer_name_query); tep_mail($customer_name['customers_firstname'] . " " . $customer_name['customers_lastname'], $customer_name['customers_email_address'], EMAIL_PASSWORD_REMINDER_SUBJECT, nl2br(sprintf(EMAIL_PASSWORD_REMINDER_BODY, $new_password)), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } } // End POST section And this part: define('EMAIL_PASSWORD_REMINDER_SUBJECT', STORE_NAME . ' - New Password'); define('EMAIL_PASSWORD_REMINDER_BODY', 'A new password was requested for your account at ' . STORE_NAME . '.' . "\n\n" . 'Your new password to \'' . STORE_NAME . '\' is:' . "\n\n" . ' %s' . "\n\n"); is moved to admin/includes/languages/Your_language/change_password.php - where it belongs to! J.J.
  8. @@ce7 Hi, it's German. :D If you don't understand the meaning of any definition in the files look into invoice_en.sql where you'll find these definitions and their meaning in English. J.J.
  9. Go to Admin -> Configuration -> My Store and enter there under "Store Name" the name of your store.
  10. @@ArtcoInc Hi Malcolm Yes I know that the email validation is a problem: Originally I had it completly taken out from account_pwa.php. Then I got a mail where someone complained, that when a customer logs in as a guest, but does not complete the checkout process (so the data are not deleted), and later wants to register as a customer, an error message comes that the email already exists. So I put back the email validation. Now the same problem appears if a guest leaves before the checkout process is completed: If he comes back later again and wants again to purchase as a guest he gets the same error message that the email already exists. I have thought to build in a routine which checks the DB regularly for guest entries older than e.g. 24 hours and deletes them automatically. It's not that complicated, but at the moment I just don't have time, to do this and especially to test thoroughly. J.J.
  11. De Dokta

    Latest News Rotator Multilingual 1.0 BS

    Anyone can do with addons what he thinks to be good or properly. For me your changes make no sense: The average user expects when he reads the note "read more", that a click on this note leads him somewhere. No one would think to click on the headline in that case!
  12. @@element3 You were searching in the wrong file for reason for this error. Your code snippets are from catalog/checkout_process, while the error message tells you that there's a mistake in catalog/includes/languages/english/checkout_process.php. There you should find something like: define('EMAIL_WARNING', 'NOTE: This email address has been submitted by a visitor to our online-shop. If you were not this visitor, please send a message to: ' . STORE_OWNER_EMAIL_ADDRESS . 'Thank you for your purchase and have a nice day.'); J.J.
  13. De Dokta

    Latest News Rotator Multilingual 1.0 BS

    Hi This is indeed a problem: the news rotator has already a built in link <a href> because I wanted to link from the displayed news in the rotator (which may be truncated) to the respective (complete) news in the news module. If you want to use the rotator for something different e.g. to display some new products with a link to the respective product page, you should remove this built in link ( $wrapper_slides .= '<a href="' . tep_href_link('latest_news.php', 'news_id=' . $latest_news['news_id'], $request_type) . '">'; and $wrapper_slides .= '</a>';) from the module! J.J.
  14. De Dokta

    Latest News Rotator Multilingual 1.0 BS

    If I look at your site it seems that you forgot to add the css settings to your user.css.
  15. De Dokta

    Latest News Rotator Multilingual 1.0 BS

    What bug? That has nothing to do with Latest news but with ckeditor. May be you use another version of ckeditor than me?! J.J.
  16. De Dokta

    Latest News Rotator Multilingual 1.0 BS

    @@rubberfashion Thanks for your feedback. You are right! These are bugs! :x I've uploaded a new package where these bugs are fixed. In your case pls. replace \includes\modules\content\index\cm_news_carousel.php and admin\latest_news.php with the files from the new package. J.J.
  17. De Dokta

    State Selector for BS

    Hi remove the line: require('includes/form_check.js.php'); form_check.js.php is not longer needed in BS J.J.
  18. De Dokta

    Latest News Multilingual

    Hi In 2.3.4BS it's a little bit different: Insert ' <li><a href="' . tep_href_link(FILENAME_LATEST_NEWS) . '">' . MODULE_BOXES_INFORMATION_BOX_NEWS . '</a></li>' . into includes\modules\boxes\templates\information.php. J.J.
  19. Hi, not really! I discussed the issue with Tsimi and we found that PP Express returns the user to checkout_confirmation, while PP Standard returns him to checkout_success: So PP Express can be used with PWA, PP Standard does not work with the add-on. Actually I have no idea how to solve the problem......... J.J.
  20. De Dokta

    State Selector for BS

    Artisan Foundry, on 12 May 2015 - 21:20, said: There's a <div class="form-group"> in address_book_details.php. Change it to <div class="form-group has-feedback"> and the asterix will be in the right place. J.J.
  21. @@raiwa Thanks for your advice. :) Just working on some improvements (I hope) on different of my add-ons - among them also the PWA addon. I'll add the changes you proposed to the next release. J.J.
  22. @@Tsimi Yes, you are right! :- The only way to add a wishlist button to the product_listing seems to be to define a new case 'add_to_wishlist' in application_top: Right before: case 'notify' : if (tep_session_is_registered('customer_id')) { insert: /*Wish List */ case 'add_to_wishlist' : if (isset($_GET['products_id'])) { if (tep_has_product_attributes($_GET['products_id'])) { tep_redirect(tep_href_link('product_info.php', 'products_id=' . $_GET['products_id'])); } else { $wishList->add_wishList($_GET['products_id'], $wishList->get_quantity($_GET['products_id'])+1); } } tep_redirect(tep_href_link('wishlist.php', tep_get_all_get_params($parameters))); break; /* /Wish List End */ And then in product_listing add something like: $prod_list_contents .= ' <div class="col-xs-6">' . tep_draw_button(TEXT_ADD_WISHLIST, 'glyphicon glyphicon-heart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=add_to_wishlist&products_id=' . $listing['products_id']), NULL, NULL, 'btn-default btn-sm') . '</div>'; Works for me on bs-gold........ J.J.
  23. Hi yes it's possible with a little trick! :rolleyes: In includes/modules/product_listing.php somewhere around the buttons area add (depends on where you want to have the wishlist button): $prod_list_contents .= ' <div class="col-xs-6">' . tep_draw_form('cart_quantity', tep_href_link('product_info.php', tep_get_all_get_params(array('action')) . 'action=add_product')) . tep_draw_hidden_field('products_id', $listing['products_id']) . tep_draw_button(TEXT_ADD_WISHLIST, 'glyphicon glyphicon-heart', null, 'primary', array('params' => 'name="wishlist" value="wishlist"')) . '</form ></div>'; J.J.
  24. If you want to remove the add-to-cart button but use the wishlist function, keep the hidden field intact. <div class="col-xs-6 text-right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'glyphicon glyphicon-shopping-cart', null, 'primary', null, 'btn-success'); ?></div>
  25. # http://www.lalala.eu= RewriteBase / is wrong. Instead use: RewriteBase /
×