• Resolved freddymx

    (@freddymx)


    Hi,
    Is it possible to use SimpleCart shortcodes to create products directly like echo do_shortcode (“[wp_cart_button name = ‘something’ price = ‘”. $ Price. “‘]);?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, I am not really sure at present. However have you tried yourself to test if do_shortcode works in your site?

    Regards

    Thread Starter freddymx

    (@freddymx)

    Yes, it works perfectly but I need to create the product directly with the shotcode indicating name and price for example (as it works in the Simple Cart plugin)

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Can you provide an example of the shortcode you want to use in your site? Or, is the shortcode the one you share above?

    Thank you

    • This reply was modified 3 years, 12 months ago by mbrsolution.
    Thread Starter freddymx

    (@freddymx)

    yes something like this… echo do_shortcode (“[wp_cart_button name = ‘something’ price = ‘”. $ Price. “‘]);

    thanks

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for sharing more information. I have submitted a message to the developers to investigate further your request.

    Kind regards

    Plugin Author mra13

    (@mra13)

    No, that cannot be done.

    You need to configure a product within the plugin’s admin interface then you can use a shortcode to show a buy button for the product.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘shortcodes like Simple cart’ is closed to new replies.