Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. So you want to add some fixed amount (or percentage) to the price? Are the reasons that you don't want to simply increase the price by that amount that 1) it shouldn't be taxed, 2) you want it listed as a separate item? The product description could take care of the second objection with "price includes 20% recuperation deposit" etc., but it would still be taxed. As this is different from shipping charges (which may or may not be taxable themselves) I guess you couldn't call it a shipping charge, unless there is a way to add a second shipping charge (and set it as non-taxable). All I can suggest at this point is to maybe look at the "minimum order fee" and modify it in some way to reflect the charges you want to make, and set it as non-taxable? There also may be some sort of "per item shipping fee" code that could be your starting point, if there isn't already something ready-to-go.
  3. MrPhil

    Login with Paypal

    Login with PayPal has been changed to Connect with PayPal. See if anything in helps you.
  4. MrPhil

    Admin password reset

    Can you get to the database (such as with phpMyAdmin) from your hosting control panel? Just truncate (empty) the administrators table. When you try signing on again, you'll be asked for a new administrator ID and password.
  5. pantarra

    Admin password reset

    I need someone to reset password on my shopping cart I will pay email me gpn077@gmail.com
  6. Yesterday
  7. edo.script

    Login with Paypal

    While the most recent post in here is already over 2 years old, I wonder if anyone had the same issue that I am having. I have installed the "Login with PayPal" and everything seems to be good now, however after logging in with PayPal I end up on the login.php page again, and it doesn't show logged in and can't checkout. So I wonder if anyone has an idea as to how this should work or if I am missing anything. Thank you in advance.
  8. zpupster

    Index Carousel add on

    i changed to cm_i_carousel i used the original code below -- and it works--all except the images will not appear on the index page-- the carousel arrows do. I have used /images/ and /images and images/ and just plain images in place of DIR_WS_IMAGES. I have used single quotes -double quotes and no quotes , parentheses i guess my question what needs to go there?? if ($banner['banners_image'] !== '') { //$wrapper_slides .= tep_image(DIR_WS_IMAGES . $banner['banners_image'], $banner['banners_html_text']); $wrapper_slides .= tep_image(DIR_WS_IMAGES . $banner['banners_image'], '', 800, 400); $wrapper_slides .= '<div class="carousel-caption"> </div>'; } else { //$wrapper_slides .= tep_image(DIR_WS_IMAGES . 'pixel_silver.gif', 'alt', 544, 172 ); $wrapper_slides .= '<img class="img-responsive" alt="544x172" src="' . $background . '" />'; $wrapper_slides .= '<div class="carousel-caption">' . $banner['banners_html_text'] . '</div>'; }
  9. Hi supercheaphob! I have normal osC 2.3.4 installed .... You can forget the Deposit Payment Module (It work) but it is not what I need it to do. I need another type of module, I don't find it... Ex: If I sell A Pepsi can $1.00 (+taxe) I need the module to automatically add 1 line Item charging A 0.05¢ (non-taxable) for recuperation deposit - which will be credited eventually. If 12 Pepsi is selected, 12x 0.05¢ must be shown. Hope I am clear enough. Thanks you
  10. Without logging visits to the old site (new code needed: maybe add something to the Query String during the redirect, and process it in new code at your new store), all you can do is guess how long people will continue to use bookmarks to the old site. Search engines should be gone within 2 or 3 months at most... maybe allow 6 months for people not to show up at the old site? Someone is bound to follow an old link or bookmark two years from now, but at some point you've got to cut your losses of maintaining a redundant site (cost of extra domain name registration, but you ought to be able to share hosting with the new store [see "add-on domain" on most servers]).
  11. valquiria23

    Domain change, SEO and new oscommerce site version

    Hi Phil @MrPhil Yes, I have access to the old site !!! For how long do you recommend "leave alive" the old domain?
  12. Of course, that's on the old store's site, pointing to the new store site. If you've lost access to the old site, you're probably out of luck.
  13. valquiria23

    Domain change, SEO and new oscommerce site version

    Thank you very much Phil @MrPhil I'm going to try the Rewrite and I'll tell you what the result was. Best regards Valqui
  14. Thank you Rainer. I assume I need to look for the upgrade log and upgrade from 2.3.4 to 2.3.4.1 BS CE FROZEN and then do a clean installation of the latest PWA.
  15. zpupster

    Index Carousel add on

    TY puddleC, I removed that dot before when i replaced it this error returned: Parse error: syntax error, unexpected '$wrapper_slides' (T_VARIABLE) in catalog/includes/modules/content/index/cm_i_carousel.php on line 93
  16. puddlec

    Index Carousel add on

    in catalog\includes\modules\content\index\cm_i_carousel.php change class cm_carousel { to class cm_i_carousel { edit: just noticed line 92 is also incorrect change to $wrapper_slides .= tep_image('images/' . $banner['banners_image'], '', 800, 400);
  17. Alright, so I'm attempting to just add a CSS class to a selected category link. I'm trying to get more familiar with the category tree (category_tree.php) and the only thing I've found that controls the selected output is the following: $OSCOM_CategoryTree->setCategoryPath($cPath, '<strong>', '</strong>'); This, of course, just bolds the current selected category. However, I'm just looking to do something similar to this (see the "CUSTOM_CSS_CLASS"): <a class="list-group-item list-group-item-action CUSTOM_CSS_CLASS" href="http://mywebsite.com/catalog/index.php?cPath=3"><strong>Electronics</strong></a> Is there a way to achieve this with any of the available functions within category tree?
  18. support, i have an old add on from here: we are presently updating our website. using frozen 2341CE and our host php7.1. we like this addon i have eliminated all errors but it is not showing in content modules to be installed. below is the code. Z catalog\includes\modules\content\index\templates\tpl_cm_i_carousel.php <!-- <div id="carousel" class="col-sm->--> <?php /* echo $content_width; */?> <div id="carousel" class="banner-width"> <?php echo $carousel; ?> </div> catalog\includes\languages\english\modules\content\index\cm_i_carousel.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce Released under the GNU General Public License */ //const MODULE_FRONT_PAGE_BANNER_ROTATOR_TITLE = 'Carousel Banners For Home Page'; //const MODULE_FRONT_PAGE_BANNER_ROTATOR_DESCRIPTION = 'Adds a carousel to Home Page with banner images set from Banner Manager.'; define('MODULE_FRONT_PAGE_BANNER_ROTATOR_TITLE ', 'Carousel Banners For Home Page'); define('MODULE_FRONT_PAGE_BANNER_ROTATOR_DESCRIPTION ', 'Adds a carousel to Home Page with banner images set from Banner Manager.'); ?> catalog\includes\modules\content\index\cm_i_carousel.php <?php /* $Id: banner_rotator.php v1.1.2 20110108 Kymation $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ class cm_carousel { var $code; var $group; var $title; var $description; var $sort_order; var $enabled = false; function __construct() { $this->code = get_class($this); $this->group = basename(dirname(__FILE__)); $this->title = MODULE_FRONT_PAGE_BANNER_ROTATOR_TITLE; $this->description = MODULE_FRONT_PAGE_BANNER_ROTATOR_DESCRIPTION; if (defined('MODULE_FRONT_PAGE_BANNER_ROTATOR_STATUS')) { $this->sort_order = MODULE_FRONT_PAGE_BANNER_ROTATOR_SORT_ORDER; $this->enabled = (MODULE_FRONT_PAGE_BANNER_ROTATOR_STATUS == 'True'); } } function execute() { global $PHP_SELF, $oscTemplate, $cPath; $content_width = (int)MODULE_FRONT_PAGE_BANNER_ROTATOR_CONTENT_WIDTH; if ($PHP_SELF == 'index.php' && $cPath == '') { // Set the Javascript to go in the header $footer_scripts = '<script>' . '$(\'#carousel-example-generic.carousel\').carousel({ interval: ' . ( int ) MODULE_FRONT_PAGE_BANNER_ROTATOR_HOLD_TIME . '})' . "\n" .'</script>'; $oscTemplate->addBlock($footer_scripts, 'footer_scripts'); // Set the banner rotator code to display on the front page $banner_query_raw = " select banners_id, banners_url, banners_image, banners_html_text from " . TABLE_BANNERS . " where banners_group = '" . MODULE_FRONT_PAGE_BANNER_ROTATOR_GROUP . "' and status order by banners_id " . MODULE_FRONT_PAGE_BANNER_ROTATOR_BANNER_ORDER . " limit " . MODULE_FRONT_PAGE_BANNER_ROTATOR_MAX_DISPLAY; $banner_query = tep_db_query($banner_query_raw); if (tep_db_num_rows($banner_query) > 0) { $body_text = '<!-- Banner Rotator BOF -->' . "\n"; $body_text .= ' <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">' . "\n"; $indicators = '<!-- Indicators --> <ol class="carousel-indicators">'; $wrapper_slides = '<!-- Wrapper for slides -->' . "\n" . '<div class="carousel-inner">'; $background = $this->createImage(800, 400, 118, 115, 115); $counter = 0; while ($banner = tep_db_fetch_array($banner_query)) { $indicators .= ' <li data-target="#carousel-example-generic" data-slide-to="' . $counter . '"' . ($counter == 0 ? 'class="active"' : '') . '></li>'; $wrapper_slides .= ' <div class="item' . ($counter == 0 ? ' active' : '') . '">'; if ($banner['banners_url'] != '') { $wrapper_slides .= '<a href="' . tep_href_link('redirect.php', 'action=banner&goto=' . $banner['banners_id']) . '">'; } //$wrapper_slides .= tep_image(DIR_WS_IMAGES . $banner['banners_image'], $banner['banners_html_text']); if ($banner['banners_image'] !== '') { //$wrapper_slides .= tep_image(DIR_WS_IMAGES . $banner['banners_image'], $banner['banners_html_text']); $wrapper_slides .= tep_image(images/ $banner['banners_image'], '', 800, 400); $wrapper_slides .= '<div class="carousel-caption"> </div>'; } else { //$wrapper_slides .= tep_image(DIR_WS_IMAGES . 'pixel_silver.gif', 'alt', 544, 172 ); $wrapper_slides .= '<img class="img-responsive" alt="544x172" src="' . $background . '" />'; $wrapper_slides .= '<div class="carousel-caption">' . $banner['banners_html_text'] . '</div>'; } if ($banner['banners_url'] != '') { $wrapper_slides .= '</a>'; } $wrapper_slides .= ' </div>' . "\n"; $counter++; } $indicators .= '</ol>'; // close indicator $wrapper_slides .= '</div>'; // wrapper close $controls = ' <!-- Controls --> <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a>'; // öszefuzés $body_text .= $indicators . $wrapper_slides . $controls; $body_text .= ' </div><p> </p>' . "\n"; $body_text .= ' <div class="clearfix"></div>' . "\n"; $body_text .= '<!-- Banner Rotator EOF -->' . "\n"; $carousel = $body_text; } ob_start(); include('includes/modules/content/' . $this->group . '/templates/tpl_cm_i_carousel.php'); $template = ob_get_clean(); $oscTemplate->addContent($template, $this->group); } } function isEnabled() { return $this->enabled; } function check() { return defined('MODULE_FRONT_PAGE_BANNER_ROTATOR_STATUS'); } function install() { tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '0', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Content Width', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_CONTENT_WIDTH', '12', 'What width container should the content be shown in?', '6', '1', 'tep_cfg_select_option(array(\'12\', \'11\', \'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\'), ', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Banner Rotator', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_STATUS', 'True', 'Do you want to show the banner rotator?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Hold Time', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_HOLD_TIME', '4000', 'The time each banner is shown. 1000 = 1 second', '6', '0', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Banner Order', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_BANNER_ORDER', 'Desc', 'Order that the Banner Rotator uses to show the banners.', '6', '0', 'tep_cfg_select_option(array(\'Asc\', \'Desc\'), ', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Banner Rotator Group', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_GROUP', 'rotator', 'Name of the banner group that the Banner Rotator uses to show the banners.', '6', '0', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Banner Rotator Max Banners', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_MAX_DISPLAY', '6', 'Maximum number of banners that the Banner Rotator will show', '6', '0', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array ( 'MODULE_FRONT_PAGE_BANNER_ROTATOR_CONTENT_WIDTH', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_STATUS', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_SORT_ORDER', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_HOLD_TIME', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_BANNER_ORDER', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_GROUP', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_MAX_DISPLAY' ); } function createImage($width = 800, $height = 400, $red = 255, $green = 0, $blue = 0) { $im = imagecreatetruecolor($width, $height); // sets background to red $color = imagecolorallocate($im, (int)$red, (int)$green, (int)$blue); imagefill($im, 0, 0, $color); //header('Content-type: image/png'); ob_start(); imagepng($im); $contents = ob_get_contents(); ob_end_clean(); imagedestroy($im); $imgData = base64_encode($contents); $src = 'data: image/png;base64,'.$imgData; return $src; } } ?>
  19. No not sure about that but this is a good one to make stock updates more bearable, you can select my manufacturer or cat's and make changes and update . Quick update BS Alternativly you could run a simple SQL script in phpAdmin. I'm sure one of the db experts will be able to help. Something like this, Backup first and only run simulation to test first. We look in products for all product with zero quantity and chage it to 20. UPDATE `products` SET `products_quantity` = REPLACE(`products_quantity`, "0", "20");
  20. Nope, fresh install The file tpl_cm_pi_jcm_buy_button.php is in the templates director of JcM Product info No stock buy button V1.0\includes\modules\content\product_info\templates So I hope I have installed the right software Changed to <script> $('.btn-danger').prop("disabled", false).click(function() { console.log('nnn'); }) </script> And all working now One last question before I head to bed... Do you have a recommendation of a app / module that will list all produces with a stock level of 0 or less and allow the stock level to be easily adjusted Or even at the most basic just the stock level report of item with 0 and less
  21. Do you have any other nostock installed? That sounds like the js script used in JcM buy button. Look in buy button template file for /public_html/includes/modules/content/product_info/templates/tpl_cm_pi_jcm_buy_button.php <script> $('.btn-danger').prop("disabled", true).click(function() { console.log('nnn'); }) </script> and remove or comment out. Also may have to remove fas fa-ban or fa-fa-ban 😊 When you make mod's to an add-on to use it for somthing else you have to look at all the functions it is using and edit or remove as required.
  22. Ok I got JcM Product listing No Stock Buy Button V1.0 CE working as a Pre-Order button so customer knows the item is out of stock but can pre-order it for when the next container shipment arrives. But having a small issue with this one, so edited public_html/includes/modules/content/product_info/templates/tpl_cm_pi_jcm_buy_button.php to read } else { // Show red button with pre-order and allow purchase echo tep_draw_button(MODULE_CONTENT_PI_JCM_BUY_BUTTON_TEXT2, 'fa fa-shopping-cart', null, 'primary', array('params' => 'data-has-attributes="' . (($products_attributes['total'] > 0) ? '1' : '0') . '" data-in-stock="' . (int)$product_info['products_quantity'] . '" data-product-id="' . (int)$product_info['products_id'] . '"'), 'btn-success btn-block btn-lg btn-product-info btn-buy m-2'); I can click on the button while btn-success is there which makes the button green but when I change it to btn-danger and hover over the button I get the circle with a cross threw it and can't click
  23. If it's just some orders, and it's fairly old osC code, I've seen this problem with customers failing to properly return to the store after completing payment. That is, they "back" up or otherwise go off someplace else from the PayPal site, and never return to the store to complete the transaction. This assumes it's a PayPal mode that takes the customer offsite (to paypal.com). I think that some of the more recent osC versions may have code to successfully complete the transaction even if the customer never returns (but PayPal signals that it completed). You might look around at that (and discussion on this forum). Otherwise, it's operator error. About the best you could do is to put in a BIG REMINDER before they're sent off to the PayPal site that they need to come back to your store in a certain way, for the transaction to complete.
  24. supercheaphobb

    Frozen BS customer side customisation

    Finally got it to work and put it in put it in user.css now to go give it a better name #test > li > a { padding: 5px 15px; }
  25. emahajan

    Paypal Express 3.1 not working properly.(Sandbox)

    Jack, As I am using one page checkout into my shop, can you point out how it can be done?
  26. JcMagpie

    Frozen BS customer side customisation

    Yes 😊 css like this, I will get a lot of flack for this I'm sure. Best to not mix it in the html, add to start or end of file. Or if you wish put the css in your user.css and add some text to remember what it's for. I personaly use the templete files as custom files and keep css relavent only to that add-on in that file. Other will disagree with this approach, so stick it in the user.css if you like. <div class="panel panel-default"> <div class="panel-heading"><?php echo MODULE_BOXES_CATEGORIES_BOX_TITLE; ?></div> <?php echo $category_tree; ?> </div> <style> i#test { padding: 5px 15px; } </style>
  1. Load more activity
×