Forum Replies Created

Viewing 30 posts - 1 through 30 (of 99 total)
  • Author
  • in reply to: Price not displayed on single-product page #405715

    sorry for the trouble:

    more trial and error eventually was successful:
    p.price { display: block!important; }



    in reply to: Where can I find the API key? #335052

    thanks, Josue

    done deal



    in reply to: "Local Pickup" shipping option no longer displayed #326571

    strange things happen:

    – I switched the theme again, this time to twentytwelve and updated it.
    – I deactivated every plugin except for WC
    – Now I saw a message instead of the shipping costs, saying “Please use the shipping cost calculator …” (remember: the shipping cost calculator was activated – I double-checked) – however, using the calculator did not change anything
    – Then I switched back to the Flashlight theme and reactivated all plugins
    – Now I saw a different message in the shopping cart (where I expected to see the shipping costs): “Please checkout and enter your shipping address to see more shipping options”.
    – I entered the shipping address and – tataa: the local pickup option appeared
    – I went back to the shopping cart and – tataa: instead of the forementioned message I saw the local pickup option

    sorry for barking up the wrong tree


    in reply to: "Local Pickup" shipping option no longer displayed #326231

    Hi Devin

    I switched to the twentyeleven theme – no change: when I go to the shopping cart and want to checkout, the activated shipping method “local pickup” does not show.

    I also updated WC to 2.2.4: no change.

    Yes, there might be a bug in WooCommerce, however, I’m afraid the shipping method option could also be blocked by some of my own file customization. I just don’t know where to look for.
    I might have modified a Flashlight file and, as an adverse effect, inadvertently blocked the appearance of this shipping method.
    Could you give me a clue as to where (in which file) to find the code that controls the display of the shipping method option (I know where to set up the shipping method in the backend, but have no idea which file is affected by the setup).

    I could reinstall older versions until I find the latest one that used to show the local pickup option, however I then still would not know where the problem happened and hence where to repair a code.


    in reply to: Flashlight 2.6.1 Update Instructions #254557

    great tip, that’s exactly what the doctor prescribed!
    Thanks a lot


    in reply to: Flashlight 2.6.1 Update Instructions #254299

    Hi Yigit

    I usually check the changelog to see whether there is a new version available.
    As I made changes to 14 files I want to use only the updated files – to save myself the trouble of applying my tweaks to unchanged files of a new version.
    So, I’ll wait for the updated changelog. (WP 3.9. is too fresh to install, anyway)


    in reply to: Flashlight 2.6.1 Update Instructions #254269


    I don’t see a Flashlight 2.6.1 version on the themeforest website (the current version is 2014 February 13th – Version 2.5 ).
    Any news?



    in reply to: Button misbehaving (add_to_cart instead of show_details) #240388

    after extensive search and even more trial and error I reintroduced the (tweaked) old (1.6.4) version of the template add-to-cart.php,
    It works, and, so far, I did not notice any adverse effects.
    To keep Woocommerce happy I changed the version number to 2.1.0 and don’t care about the original file.


    in reply to: Button misbehaving (add_to_cart instead of show_details) #239614

    meanwhile I noticed more strange behavior:
    the function of the button changes, depending on the stock status and on whether the product is already in the cart (every product is unique, i.e. there is only 1 piece on stock – you cannot order more than one):

    – if a product is on stock, the button’s function is “Add to cart“, i.e. the customer is unable to check the details of the product (such as color, size, weight etc.)
    – if a product is sold out, then the button’s function is “Show details” (i.e. it brings up the product detail page)

    – if a product is already in the cart and you click a second time on the “Add to cart” button, then the product detail page opens and an error message is displayed

    The button’s function/action:
    – “Add to cart“: if the product is available
    – “Show details“: if the product is sold out (unavailable) or already in the cart

    —>>> However: I want this button ALWAYS to do “Show details”

    To me it does not make any sense to see the product page only if the product is unavailable.

    Example of a sold out product:
    product Schale 7199 (blue plate in the 5th row)


    you’re right. Now it works.
    I have no idea why it did not the first time (I had refreshed the browser and copied the code).

    Anyway, thanks a lot


    This reply has been marked as private.


    p.price {
    display: none!important;
    #top .price { display: none !important; }
    .single-product #top .price { display: block !important; }

    still gets me the same result:
    it hides it not only on the overview and the single product page, but alsohides the individual price of the product variations

    Same situation, if I use this code alone:
    #top .price { display: none !important; }
    .single-product #top .price { display: block !important; }



    Hi Yigit

    sorry for the trouble!

    p.price {
    display: none!important;
    makes it disappear on the single product page, but not on the overview page
    if I add the code
    #top .price { display: none !important; }
    it hides it not only on the overview and the single product page, but also the individual price of the product variations



    Hi Ygit

    this one worked on the product overview page!

    Do you have any suggestion to do the same on the single product page (without eliminating the price for the individual product variation)?




    I added the code you suggest to the Quck CSS – unfortunately with no visible effect.



    Hi Ismael

    There is a misunderstanding:
    what I want is to completely hide the information about the price range underneath the images.
    I don’t want “CHF xx.xx-CHF xx.xx” to be displayed at all.

    However, when a product option is selected, the appropriate price should be shown above the button where you can choose the quantity and the button “Add to cart”.

    Best regards,

    Meanwhile I found the new location of the currency symbols.
    The file has been moved to woocommerce/includes and has been renamed wc-core-functions.php.

    in the file wp-content/plugins/woocommerce/templates/loop/add-to-cart.php
    – On line 30 I found the code “switch ( $handler ) {”
    – I added/inserted the following (line 31):

    case “simple” :
    $link[‘url’] = apply_filters( ‘variable_add_to_cart_url’, get_permalink( $product->id ) );
    $link[‘label’] = apply_filters( ‘variable_add_to_cart_text’, __( ‘CUSTOM LABEL’, ‘woocommerce’ ) );

    Bingo – This did the trick


    maybe this can give you another clue:

    Depending on whether the product has a price or not, the behavior of the top button is different:
    without price: no icon; text “Read more”; action: opens the single product page; button is named “button product_type_simple

    with price: cart icon; text “Add to cart”; action: adds the product to the cart; the button is named “add_to_cart


    Meanwhile I noticed another (in my view) strange behavior of the button (on catalog/category page)

    When I click on the button “Add to cart” (no icon shown) , the icon “shop-added” appears next to the text “Add to cart” and the product is added to the cart (the screen still shows the catalog/category page)

    If I push the same button a second time, the product is added to the cart, but this time the single product page opens, while on top of the page an error message appears “The product is already in the cart” together with a button “Show cart” (overlaying and hence partly hiding the error message).

    Whether or not I added the code you suggested to flashlight/functions.php, the behavior of the button is always as mentioned.


    May I reframe my question:
    – Which codes define the button’s behavior?
    – In which files ca I find these codes?
    -How can I make the button to behave identically, regardless whether the product has a price or not? I want it always to open the single product page.



    in reply to: Enable lightbox on product catolog page? #220156

    it seems that the problem has to do with the simple-type of the products (as opposed to variable-type):

    – On I offer simple-type products (see GALERIE)
    – Hovering the mouse over a product image on a product category page brings up 2 buttons:
    1) “In den Warenkorb” [Add to cart]
    2) “Bild vergrössern” [Expand image]

    I need to change the function and the text of this “Add to cart” button:
    -> I want the top button to open the product details page (NOT to add to cart) and make it display “Einzelheiten”
    -> However: the “add to cart” button on the product details page must be left unchanged!

    Whether or not the product’s inventory-option “single-product” is activated or not, does not make any difference.

    Currently the user is unable to access the product detail page (you want to check the product details before adding to cart).

    Thanks for helping


    May I point out a possible source for confusion:
    – “Simple-type of product” = there are no variations of the product
    – “Single-product” = only 1 copy can be ordered


    Thanks for the quick reply!

    I added the code to flashlight/functions.php – unfortunately no change.

    Any other suggestion?


    in reply to: How to create a custom menu item with an external link? #218731

    Thanks Ismael

    I would have done that, however, there was no such option visible.
    And: as I read this, I assumed that duplicating an existing link was the way to go.

    Meanwhile I discovered that I needed to go to the (almost invisible) display options on the Appearance/Menus page first to activate “Links”.

    Best regards,

    Hi Devin

    this code did the trick.



    Hi Ygit

    I added the code to Quick CSS as you suggested.
    Unfortunately I cannot see any change – still no icon showing.

    Any other suggestion?
    I might try with an old file, if I knew which one to replace.



    in reply to: Firefox v 24 problem #182679

    I watched the slideshow again on FF25 after a few hours … and it works …
    Hopefully it was just a temporary hitch …

    in reply to: Firefox v 24 problem #182627

    sorry: I’m referring to version 25 (not 24) – unfortunately I was unable to edit the title of the topic

    in reply to: Slideshow still gets stuck in Firefox (Flashlight 2.4.1) #134483


    thanks for checking.

    The v2.4.1 file in question which I downloaded on 08/10 is dated 07/05.

    The file I have just downloaded again (08/12) is dated 08/09.

    So it seems that the v2.4.1 files I downloaded were in fact v2.4 files (maybe a glitch on the themeforest website?).

    When I downloaded the files on 08/10 the changelog on the themeforest website showed the v2.4.1 comment.

    Maybe at that time the download link was not yet set to the v2.4.1 files?

    I’m happy that the bug is fixed – thanks for your effort!



    in reply to: Background Slider stuck #133562
    in reply to: Slideshow stops after 3 images (Firefox only) #127519

    Thanks Peter

    I’m afraid it’s a Firefox bug:

    With the following setup it worked fine:

    – Firefox 21.0

    – WordPress 3.5.1

    – Flashlight 2.2.1

    The problem started as soon as Firefox was updated to version 22.0

    I have just updated my setup:

    – WordPress 3.5.2

    – Flashlight 2.3

    (Firefox 22.0)

    The problem persists



    in reply to: Most of the functionality no longer works #127380

    Hi Devin

    you were perfectly right – thanks for sending me in the right direction!

    It seems that something went wrong not only with the database but with the backup files as well.

    In case somebody else encounters a similar problem, here is how I fixed it:

    – I created a new database and imported the original sql file and the original root files (as opposed to backup files I used in a first attempt).

    – I deleted the root files and copy/pasted the original root files (as opposed to backup files I used in a first attempt).

    – I adjusted the wp-config.php file [DB_NAME, DB_USER, DB_PASSWORD]

    – I adjusted the login and the password in the database [wp_users]

    – I adjusted the siteurl in the database [wp_options], which pointed to a previous test subdomain

    – I adjusted the Site Address (URL) in the Dashboard/Settings, which pointed to a previous test subdomain

    – I adjusted the URL in the Dashboard/Appearance/Menus/Home, which pointed to a previous test subdomain

    I still don’t know what happened and how/why it happened, but am happy, that I did not need to start from scratch.



Viewing 30 posts - 1 through 30 (of 99 total)