• Hi, I open this new post as the the last one is 5 months ago already.

    What is the code for me to get the MIN and MAX PRODUCT QUANTITY I set in the limitation? I will need it for some coding need in the backend. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    It was answered in previous topic https://www.ads-software.com/support/topic/get-attribute-from-backend/
    What additional information do you need?

    Regards,
    Oleg

    Thread Starter thisvo

    (@thisvo)

    Hi, the post you have stated is asked by me.
    On that time, I aksed for how to get the min and max PRICE I set in limitation but I want to get the min and max QUANTITY I set this time. I found that I cound not get the value using the same method.
    Thank you for your help.

    • This reply was modified 2 years, 8 months ago by thisvo.
    • This reply was modified 2 years, 8 months ago by thisvo.
    • This reply was modified 2 years, 8 months ago by thisvo.
    Plugin Author RazyRx

    (@razyrx)

    Hello,

    All values stored in same option as array and you can get it in a same way.

    $BeRocket_minmax_custom_post = BeRocket_minmax_custom_post::getInstance();
    $limitation_ids = $BeRocket_minmax_custom_post->get_custom_posts_frontend();
    foreach($limitation_ids as $limitation_id) {
        $settings_minmax = get_post_meta( $limitation_id, 'br_minmax_limitation', true );
    }

    $settings_minmax will have all options for single limitation.

    Regards,
    Oleg

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Get attribute from back end’ is closed to new replies.