I have a urgent problem with “Add to cart” text.
On certain items I want it to show Book Event.
So I figured out I could use a certain product type for these kind of products.
I have tried to change every “Add to cart” text variable in woocommerce code, but anything isn’t changing.
Now where I need help…
How to change a “product type” add to cart text to e.g. Book Event ?
Maybe make a new product type, if it isn’t very hard, have the same variables like simple product, but change the Add to cart text to Book Event.
I believe the code you need to modify is in woocommerce>templates>single-product>add-to-cart>simple.php.
As for creating a new product type, thats definitely not something we can offer via support on here. I would suggest looking at the Woo Commerce forums directly since it deal directly with the plugin.
The topic ‘Changing "Add to cart" text’ is closed to new replies.