test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • skong328 Friend
    #200102

    Hi,

    I want to disable the shopping possibilities for a period. Can I hide/disable add to cart, wish list button?

    Thanks and Best regards,
    Steve

    pavit Moderator
    #543888

    Hi

    please take a look HERE

    skong328 Friend
    #543889

    Thanks your reply.

    I tried it and followed the instruction but the page become error and it stated :

    Parse error: syntax error, unexpected ‘}’ in /users/xxxxx/data/www/market.xxxxxx.com/components/com_mijoshop/opencart/vqmod/vqcache/vq2-catalog_view_theme_bookshop_template_product_product.tpl on line 22

    Mijoshop staff said that I should contact the template developer.

    Thanks and Best regards,
    Steve

    pavit Moderator
    #543893

    Hi

    This extension i gaved you is suggested by their website here

    About your question, it is mijoshop core change , template Ja Bookshop cannot provide such feature because it in any way make mijoshop core features modifications.
    So if you want to modify template css files to hide the add to cart button you should hack the code of the Ja Bookshop template

    skong328 Friend
    #543895

    Hi Pavit,

    Could you please suggest me how to hack the code in the template?

    Thanks and Best regards,
    Steve

    pavit Moderator
    #543902

    <em>@skong328 438726 wrote:</em><blockquote>Hi Pavit,

    Could you please suggest me how to hack the code in the template?

    Thanks and Best regards,
    Steve</blockquote>

    Please tell me exactly want you want to hide and in which page of your wesite

    skong328 Friend
    #543906

    Hi Pavit,

    Kindly please see the attached pictures for your information, thank you.

    Best regards,
    Steve


    1. joomlart2
    2. joomlart3
    pavit Moderator
    #543917

    Hi

    For the compare button it can be disabled from Mijoshop control panel

    Go to System >> vQmod Manager >> and install the xml file as showed here

    For the add to cart button you should add in your custom.css file ( if you haven’t it create a new one in css folder) these lines of code :

    .product-grid .cart .btn {
    display:none;
    }
    .product-list .cart .btn {
    display:none;
    }

    Best regards


    1. Screenshot_1
    skong328 Friend
    #543938

    HI Pavit,

    I can disable the compare and wish list now but how to create a custom css file to add the hack code?

    Thanks and Best regards,
    Steve

    pavit Moderator
    #543944

    You can use any editor you prefer or download Notepad++ from HERE

    Then create a new file adding the code i posted above and save it as custom.css

    after saved it upload it via ftp to this folder templatesja_bookshopcss

    skong328 Friend
    #543946

    Thanks alot!

Viewing 11 posts - 1 through 11 (of 11 total)

This topic contains 11 replies, has 2 voices, and was last updated by  skong328 10 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum