Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Add to cart button active even if product has global options Rate Topic   - - - - -

  • hmf
  • Junior Member
  • Members
  • Join Date: 01-Feb 08
  • 19 posts

Posted 11 November 2009 - 08:27 PM #1

As the title says I need to have on homepage or category pages the "add to cart button" even if the products have global options.

Take a look in the picture attached.

I would be gratefull for an answer.


Attached Files

  • Dezigner
  • Member
  • Members
  • Join Date: 12-Oct 09
  • 136 posts

Posted 13 November 2009 - 08:21 AM #2

Me to, I would be great to have this feature

  • IsItFast
  • Senior Member
  • Members
  • Join Date: 16-Sep 08
  • 555 posts

Posted 15 November 2009 - 04:16 AM #3

I'm confused. I think I need the exact opposite...but it should be default?

I use global options on almost every product I have and the "add to cart" button is there on all of them. I need to eliminate this so a customer can't add to cart without choosing options. Is this how the cart should function but mine isn't working properly?

V4.3.1 with about 10,000 highly customizable products. Several mods done....some of which now come standard with CS now. (Started with V1.3.5)

V3.0 in a few other small stores.


Posted 15 November 2009 - 05:23 AM #4

I've got this working on http://www.wildchildclothes.com (view one of the products)

You should be able to get the same thing working on products displayed anywhere though. You'll have to find the tpl file used for the display of products and then play with the following "add to cart" code:

{include file="views/products/components/buy_now.tpl" but_role="text" but_meta="cm-tools-list" but_rev="product_form_`$obj_id`" simple=true obj_id=$obj_id hide_wishlist_button=true hide_compare_list_button=true hide_add_to_cart_button=$hide_add_to_cart_button}

You'll notice there are some parameters that can be passed. If you change simple=true to simple=false I think this will display the options.

Try that out.

I've also been able to use conditional code throughout the site to detect what page I'm on and apply an ID to the body tag and then I can easily hide components on other pages...

- Jonah
Custom Web Design, Development and Professional Web Hosting

Jonah Coyote Design