Jump to content

Kurre

Members
  • Content count

    107
  • Joined

  • Last visited

Everything posted by Kurre

  1. Kurre

    Ask a product question

    @YePix Yes it worked ! Many thanks for your help, and I recived the emails to. It was the forward email in my mailbox that stopped them. This gave me the choise Allow Guest to ask a question too wich I nedeed too! Thanks to the others too for helping!
  2. Kurre

    Ask a product question

    I will not 😃
  3. Kurre

    Ask a product question

    I will try this!
  4. Kurre

    Ask a product question

    The button showed up and the form but I did not recive any mail..
  5. Kurre

    Ask a product question

    I think it is called Frozen version of the 2.3.4.1 CE Bootstrap The instructions says 3.) Open /catalog/product_info.php If you have not made any prior changes to this file you can simply replace it with the included version, otherwise: FIND near the bottom of the file: <div class="buttonSet row"> <div class="col-xs-6"><?php echo tep_draw_button(IMAGE_BUTTON_REVIEWS . (($reviews['count'] > 0) ? ' (' . $reviews['count'] . ')' : ''), 'fa fa-commenting', tep_href_link('product_reviews.php', tep_get_all_get_params())); ?></div> <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, '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-product-info btn-buy'); ?></div> </div> REPLACE WITH: <div class="buttonSet row"> <div class="col-xs-6"><?php echo tep_draw_button(IMAGE_BUTTON_REVIEWS . (($reviews['count'] > 0) ? ' (' . $reviews['count'] . ')' : ''), 'fa fa-commenting', tep_href_link('product_reviews.php', tep_get_all_get_params())); ?></div> <?php if (tep_session_is_registered('customer_id') || (ALLOW_ASK_A_QUESTION == 'true')) { ?> <div class="col-xs-6"><?php echo tep_draw_button(TEXT_ASK_QUESTION, 'fa fa-question', tep_href_link('ask_a_question.php', 'products_id='.$product_info['products_id'])); ?></div> <?php } ?> </div> <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, '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-product-info btn-buy'); ?></div> The code is not there, if I look in the file includes/modules/content/product_info/templates/tpl_cm_pi_buy_button.php the code is <div class="col-xs-<?php echo $content_width; ?> text-right cm-pi-buy-button"> <?php echo tep_draw_button(MODULE_CONTENT_PI_BUY_BUTTON_TEXT, '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-product-info btn-buy'); echo tep_draw_hidden_field('products_id', (int)$product_info['products_id']); ?> </div> I guess that code shoud be the code I need to change ?
  6. I use 2.3.4.1 CE BS version How can i make the menu box quick search search in product description too ?
  7. Kurre

    Categories different rows

    @JcMagpie It looks like the special caracters is not problem ?
  8. Kurre

    Categories different rows

    Yes you are right, I have changed the category names so all has 2 rows, now it works. How can I do so it works fine even if the catgory names has different row size ?
  9. Kurre

    Categories different rows

    No it did not.
  10. Kurre

    Categories different rows

    Tried that now but it did not help.
  11. Kurre

    Categories different rows

    Yes I did and did not work.
  12. Kurre

    Categories different rows

    @Jack_mcs It did not work, I use the frozen community versionen, I have no Equal heigt header tags in it, so when I upload the modul New equal heights nothing is replaced and there is nothing to install in the admin under header tags ?
  13. Kurre

    Categories different rows

    @Jack_mcs Ok thanks, I will try that one.
  14. I found a topic that is closed so I can´t write there, I have osCommerce 2.3.4.1 CE BS version but I can´t find the code <?php if (MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS == 'True') { ?> in the file catalog/includes/modules/product_listing.php , the code is <?php if ( (defined('MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS') && MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS == 'True') && (strpos(MODULE_HEADER_TAGS_GRID_LIST_VIEW_PAGES, basename($PHP_SELF)) !== false) ) { ?> I guess it is that code but if I add this code right above it <?php if (!tep_session_is_registered('max_products_per_page')) tep_session_register('max_products_per_page'); if (!isset($max_products_per_page) || !is_integer($max_products_per_page) || ($max_products_per_page < 1)) $max_products_per_page = MAX_DISPLAY_SEARCH_RESULTS; if (isset($HTTP_GET_VARS['mppp']) && is_numeric($HTTP_GET_VARS['mppp']) && ($HTTP_GET_VARS['mppp'] > 0)) $max_products_per_page = intval($HTTP_GET_VARS['mppp']); $mppp_list = array(); for ($i = 1; $i <= 5; $i += 1) { //change $i <= 5 to show more or less page options, default is 5 (Example: 12, 24, 36, 48, 60 (total: 5 options)) $mppp = intval($i * 12); //change $i * 12 for products shown per page, default is 12 $mppp_list[] = array('id' => $mppp, 'text' => $mppp); } $mppp_list[] = array('id' => 9999999, 'text' => TEXT_ALL_ITEMS); $gvhf = ''; $ignore = array('page', 'mppp'); if (is_array($HTTP_GET_VARS) && (sizeof($HTTP_GET_VARS) > 0)) { reset($HTTP_GET_VARS); while (list($key, $value) = each($HTTP_GET_VARS)) { if ( (strlen($value) > 0) && ($key != tep_session_name()) && (!in_array($key, $ignore)) ) { $gvhf .= tep_draw_hidden_field($key, $value); } } } $maxpppform = tep_draw_form('prod_per_page', basename($PHP_SELF), 'get') . $gvhf . tep_draw_pull_down_menu('mppp', $mppp_list, $max_products_per_page, 'class="form-control input-sm" style="width:70px;" onchange="this.form.submit()"') . '</form>'; $listing_split = new splitPageResults($listing_sql, $max_products_per_page, 'p.products_id'); ?> <form class="form-inline pull-right"> <label class="control-label"><?php echo TEXT_SHOW; ?></label> <?php echo $maxpppform; ?> </form> It doesnt work, the dropdown menu is there and all but if I chose like 48 items it will not show that. Anyoone have a solution for this ?
  15. osCommerce 2.3.4.1. CE Bootstrap How do I change the space between the categories in the categorie menu ? It is to big now..
  16. Kurre

    Change the space between categories

    @supercheaphobb thanks, that is a better way! The shop I changed had only 2 menu boxes so I did not think of it.
  17. Kurre

    Change the space between categories

    Thank you @peterbuzzin that worked out so good!
  18. Kurre

    Change the space between categories

    Tnaks @JcMagpie but it did not change the padding between category names only the margin to the box.
  19. I use oscommerce 2.3.4.1 CE Bootstrap versionen. Is it possible to combine checkout shipping and checkout payment into 1 instead of 2 pages ?
  20. Or maybe it's easier to combine checkout payment and Confirm order pages ? And would it brake external payment modules like paypal then ?
  21. I use osCommerce 2.3.4.1 CE BS version I embedded HTML5 player code for demo music in the products description, in productlistning the player shows as it should. But when I cklick a demo music player it plays, and when I cklick another demo music to listen the first one don't stop but plays along with the second one and the third one and so on if you dont't click stop on the first song. Is there a javascrip I can use to stop the first song from playing if I click another song ? The embeded code I use is <AUDIO controls><SOURCE type="audio/mpeg" src="https://www.somesite.se/songs/demo.mp3"></AUDIO>
  22. Kurre

    Javasript to control MP3 player

    Yes! That was just what I needed, many thanks to you for your help JcMagpie !
  23. Kurre

    Javasript to control MP3 player

    I need to use embed code in product description to every song, the shop has 5 000 songs to sell so it's not possible to use one mp3 player with a playlist.
  24. Kurre

    display number of items per page

    Great. Glad I could do somtehing to help the community.
×