Viewing 2 replies - 1 through 2 (of 2 total)
  • Use this code where you want sample button and you can also change the text

    <form  class="cart sample" method="post" enctype="multipart/form-data">
    		<div class="single_variation_wrap" style="display:block !important;">
    			<button type="submit"
    			class="single_add_to_cart_button button alt single_add_sample_to_cart_button btn btn-default">
    			Add Sample Product</button>
    			<input type="hidden" name="sample" id="sample" value="true">
    			<input type="hidden" name="add-to-cart" id="sample_add_to_cart" value="<?php echo $post->ID ?>">
    		</div>
    		</form>
    Plugin Author isikom

    (@isikom)

    This plugin is localized.
    You find a .pot file under language folder, you need to create a german language file starting from .pot file.
    If you made a german .po file send it to me and I’ll add it to the plugin.
    If you are not confident with poedit and file translation may I could help you to make it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing the text "add sample to cart"’ is closed to new replies.