jrFoxyCart_add_to_cart Button

nate
@nate
11 years ago
917 posts
I need to overwrite the HTML for the jrFoxyCart buy button, but I can't find the function that creates the button.

I see no template nor include function called jrFoxyCart_add_to_cart.

Any help?
updated by @nate: 05/13/14 04:14:32AM
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
They're smarty functions in /modules/jrFoxyCart/lib/functions.php

smarty_function_jrFoxyCart_add_to_cart


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
nate
@nate
11 years ago
917 posts
Is there a way you guys made it customizable? Or do I have to hack it?
updated by @nate: 04/12/14 03:24:36PM
brian
@brian
11 years ago
10,149 posts
There are add_to_cart_section and add_to_cart_price CSS classes that should allow you to customize it. It's a complicated function, and customizing it will likely break it. Note that there is a jrFoxyCart_add_button function you can use if you just need the button.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags