Jump to content

Search the Community

Showing results for tags 'add to cart'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • CubeCart News & Announcements
    • News & Announcements
  • CubeCart Support Forums
    • Issue / Bug Reporting & Feature Requests
    • Install & Upgrade Support
    • Official CubeCart Hosting
    • Technical Help
    • Customising Look & Feel
  • CubeCart Extension Marketplace
    • Visit the CubeCart Extension Marketplace
    • Extension Discussion
    • Developer Forum
  • General
    • General Discussion
    • Show Off

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Found 1 result

  1. Hi Guys, I've been researching but can't find any info specifically on my issue, maybe you can help me out. I'm wanting to swap the 'add to cart' button in the category and search view to the 'more' button, but only if a product has options. This would mean that clicking the link would just take them to the product page. I am aware of mods to display the product options on the category page, but would like to keep the cat view clean and just disable people from adding a product with options directly to the cart from the cat page. Im thinking of changes in viewCat.inc.php where there are two queries, one doing the usual product search, the other querying prod_options_bot so that if the product IDs match there can be a conditional statement to perform the swap. But I guess this would mean that the html to create the entire add to cart button would need to get parsed or the html for the more button, and neither html exist in the viewCat.tpl file for this to work. Is there a more intuative way of doing this? Really appreciate any help!
  • Create New...