Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter neuhaus3000

    (@neuhaus3000)

    Hey braehler and Fernando,

    Thanks for the info. Slugs have been modified and works perfectly.

    Cheers!

    neuhaus3000

    Thread Starter neuhaus3000

    (@neuhaus3000)

    Weird…

    I have theme Twenty Sixteen and woocommerce activated : success !

    When I activate one by one :
    – woocommerce membership : success
    – woocommerce multilangual : success
    – activate Avada Child theme : success
    – activate Avada Fusion Builder : success
    – activate Avada Fusion Core : success

    So there is a problem with WPML somewhere… Let’s see…

    When I activate WPML plugins one by one :
    – WPML Multilingual CMS : success
    – WPML String Translation : success
    – WPML Translation Management : success
    – WPML Media : ERROR…

    There it is !!!

    So I have deactivate it until they find a fix.

    Thanks!

    Thread Starter neuhaus3000

    (@neuhaus3000)

    Maybe I’m on to something…

    I have only woocommerce and an other theme activated and the 404 errors are gone.

    I will activate one by one and change theme to Avada after.

    One moment please…

    Thread Starter neuhaus3000

    (@neuhaus3000)

    I have activated an other theme… no success…

    Thread Starter neuhaus3000

    (@neuhaus3000)

    Hey Caleb,

    I did this…

    You can click on the “forget password?” on the login page… You will see the 404 error.

    I’m scratching my head since 3pm… ??

    Thanks!

    • This reply was modified 6 years, 10 months ago by neuhaus3000.
    Thread Starter neuhaus3000

    (@neuhaus3000)

    Solved…

    Was a plugin… deactivated it. ??

    Thread Starter neuhaus3000

    (@neuhaus3000)

    I have updated WP + WooCommerce + Theme to the last versions… no success.

    Thread Starter neuhaus3000

    (@neuhaus3000)

    The error comes from admin-ajax.php … ??

    Thread Starter neuhaus3000

    (@neuhaus3000)

    Hey Sybre,

    I will try this, thank you!

    neuhaus3000

    Thread Starter neuhaus3000

    (@neuhaus3000)

    Hummm…

    Thread Starter neuhaus3000

    (@neuhaus3000)

    Hello Ewout,

    It will be my pleasure to add a review.

    I have installed and activated the plugin.
    There is the 2 pdf icons on the purchase line in the WP Admin Panel.
    When I click on the icon, it I don’t see the PDF, it sends me to an error page.

    Do you know what can be the source of the error?

    Thank you!

    neuhaus3000

    Thread Starter neuhaus3000

    (@neuhaus3000)

    Great, thanks!!!

    neuhaus3000

    Thread Starter neuhaus3000

    (@neuhaus3000)

    Ha ha!

    Ok, I’m trying it now… Yes, it has a search field…

    For the Tabs, I’m going to add buttons in the menu
    for each one.

    Thanks! ??

    Thread Starter neuhaus3000

    (@neuhaus3000)

    Final code:

    add_action( 'woocommerce_after_shop_loop_item', 'jack_id_multiple_add_to_cart_text' );
    function jack_id_multiple_add_to_cart_text( $default ) {
        if ( get_the_ID() == 1325 ) {
            echo '<a href="https://mywebsite.ca/produit/collection-complete/">Informations</a>';
        } elseif ( get_the_ID() == 1694 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/07/AGDM_Benin_Apercu.pdf">Avant-go?t</a>';
        } elseif ( get_the_ID() == 1693 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/07/AGDM_Bresil_Apercu.pdf">Avant-go?t</a>';
        } elseif ( get_the_ID() == 1328 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Cambodge_Apercu.pdf">Avant-go?t</a>';
        } elseif ( get_the_ID() == 1329 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Chine_Apercu.pdf">Avant-go?t</a>';
        } elseif ( get_the_ID() == 1336 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Costa_Rica_Apercu.pdf">Avant-go?t</a>';
        } elseif ( get_the_ID() == 1337 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Croatie_Apercu.pdf">Avant-go?t</a>';
        } elseif ( get_the_ID() == 1338 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Mexique_Apercu.pdf">Avant-go?t</a>';
        } elseif ( get_the_ID() == 1339 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Roumanie_Apercu.pdf">Avant-go?t</a>';
        } elseif ( get_the_ID() == 1340 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Tanzanie_Apercu.pdf">Avant-go?t</a>';
        } elseif ( get_the_ID() == 1345 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Thailande_Apercu.pdf">Avant-go?t</a>';
        } elseif ( get_the_ID() == 1346 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Vietnam_Apercu.pdf">Avant-go?t</a>';
        } else {
            return $default;
        }
    }
    Thread Starter neuhaus3000

    (@neuhaus3000)

    Ok… I’m getting there…

    add_action( 'woocommerce_after_shop_loop_item', 'jack_id_multiple_add_to_cart_text' );
    function jack_id_multiple_add_to_cart_text( $default ) {
        if ( get_the_ID() == 1325 ) {
            echo '<a href="https://mywebsite.ca/produit/collection-complete/">Informations</a>'
        } elseif ( get_the_ID() == 1694 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/07/AGDM_Benin_Apercu.pdf">Avant-go?t</a>'
        } elseif ( get_the_ID() == 1693 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/07/AGDM_Bresil_Apercu.pdf">Avant-go?t</a>'
        } elseif ( get_the_ID() == 1328 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Cambodge_Apercu.pdf">Avant-go?t</a>'
        } elseif ( get_the_ID() == 1329 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Chine_Apercu.pdf">Avant-go?t</a>'
        } elseif ( get_the_ID() == 1336 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Costa_Rica_Apercu.pdf">Avant-go?t</a>'
        } elseif ( get_the_ID() == 1337 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Croatie_Apercu.pdf">Avant-go?t</a>'
        } elseif ( get_the_ID() == 1338 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Mexique_Apercu.pdf">Avant-go?t</a>'
        } elseif ( get_the_ID() == 1339 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Roumanie_Apercu.pdf">Avant-go?t</a>'
        } elseif ( get_the_ID() == 1340 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Tanzanie_Apercu.pdf">Avant-go?t</a>'
        } elseif ( get_the_ID() == 1345 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Thailande_Apercu.pdf">Avant-go?t</a>'
        } elseif ( get_the_ID() == 1346 ) {
        	echo '<a href="https://mywebsite.ca/wp-content/uploads/2016/06/AGDM_Vietnam_Apercu.pdf">Avant-go?t</a>'
        } else {
            return $default;
        }
    }

    I have a php error though…

Viewing 15 replies - 1 through 15 (of 22 total)