Announcement

Collapse

Posting Rules

Posting Rules
This forum was created to help 3dcart users share tips on getting the best out of the service, offer knowledge and experiences about e-commerce in general, and to promote a positive environment in which our merchants can request/dispense advice regarding best practices.

The forum was not created for 3dcart users to submit requests for customer support. Any support related thread will be removed and a support ticket will be placed on your behalf. If you have technical difficulties please visit http://support.3dcart.com.

The 3dcart forum is also not intended to be a medium in which to express dissatisfaction about 3dcart's service, policies or its management and staff. Threads of this nature will also be removed from the forum. If a support issue with your 3dcart store was not resolved in a satisfactory manner; or if you feel that a particular 3dcart offering/policy is not to your liking, please let us know by emailing [email protected] so we can address your concerns directly.

Again, our purpose is to cultivate a positive learning environment for our merchants rather than platform in which to express grievances.

Very Important Rules:
* Never give away your store administration login/password in this forum.

Should you need technical help, please let 3dcart staff help.
Also, please be aware that 3dcart staff will NEVER need to ask for your 3dcart related passwords.

General Rules:
* While debate and discussion are acceptable, we will never tolerate rudeness, insulting posts, personal attacks or inflammatory posts. Our decision is final in these matters.
* Please refrain from posting meaningless threads, one word (or short) nonsensical posts, or similar postings.
* Multiple or repeated posting in order to increase your post count is not allowed.
* Advertising, spamming and trolling is not allowed. This includes using the forum email and Private message system to spam other members.
* We also do not allow posts that are sexual in nature.
* Please wait at least 24 hours before bumping posts.
* Discussion of illegal activities such as software and music piracy and other intellectual property violations are not allowed.
* Each member is allowed one login account. Registering with multiple accounts is not allowed.
* We reserve the right to remove offensive posts without notice.
* We also reserve the right to remove postings which are in violation of our specified posting rules
* Also, while these rules cover most common situations, they cannot anticipate everything. Consequently, we reserve the right to take any actions we deem appropriate to ensure these forums are not disrupted or abused in any way.
* You cannot post any affiliate or referral links, or post anything asking for a referral. Such posts will be subject to removal.
* You cannot post advertisements or notices for contests.
* We also reserve the right to ban anyone who willfully violates the forum rules, as access to our support forums are a privilege and not a right. A banned customer is still entitled to support from the support system, but will not be able to participate in the forum.
See more
See less

Disable Quickview on a per product basis?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Disable Quickview on a per product basis?

    There are some products that I don't want quickview to operate on. Just wondering if anyone has a thought on a good way to disable the qv functionality for these. I can think of maybe using some combination of an pulling product extra field with text like "NOQV", adding that to the template as part of a class name and using some CSS to hide quickview but that only would work for the hover button which leaves the add to cart/select options button still present. I'd be fine removing the hover button altogether and trying to address the "add to cart" button. I don't love to try to hack 3dcart this badly because it just adds complexity and potential complications down the line.

    Also, a side note, I just found a bug. If you have a 301 redirect set up on a product, quickview fails. I've tested this on HTML5 and core themes.

  • #2
    We had a company remove it completely while still using the quick cart feature. We also had them change the add to cart button to either "product details" or "select options" depending on whether or not the product has options. I don't like to mess with it myself but they sure did it quickly and inexpensively so I don;t imagine it's that difficult.

    Comment


    • #3
      Thanks. Those changes are pretty quick and I did them for the meantime. Being able to leave the built in functionality for most items and turning it off for a few would be a nice option for me. I think a jquery conditional based on the contents of a product extra field could do it but jquery isn't in my skillset right now.

      Comment


      • #4
        Turns out that this is very easy so I thought I'd share in case it benefits anyone in the future.

        This assumes you're using extra field 4 to hide items

        1. Code the add to cart button to go to the product page per 3dcart's instructions in their support article,

        2. Change this in product_item.html and everywhere you find the quickview block in your category, search_group and search templates:
        Code:
         <!--START: quickview-->
        <button class="quickview" data-toggle="modal">[product_quick-view]</button>
        <!--END: quickview-->
        to this:
        Code:
         <!--START: quickview-->
        <button class="quickview[extra_field_4]" data-toggle="modal">[product_quick-view]</button>
        <!--END: quickview-->
        3. Add this to your CSS file:
        Code:
        .quickviewHide {
        display:none;
        }
        4. Enter the word "Hide" in extra field 4 for items for which you don't want quickview to display
        Last edited by bzeltzer; 01-18-2020, 02:03 PM.

        Comment

        Working...
        X