Support » Plugin: 3DPrint Lite » Box Volume value needs

  • canbartu76

    (@canbartu76)


    Hello,
    I congratulate you for this amazing script. I try its lite version for my internet site project. I want to calculate the price with a different method. Due to using my method, I need box_volume value. When I have searched for this value, I couldn’t find how this value be to get the main page. Can you help me? How can I find box_volume value?
    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • canbartu76

    (@canbartu76)

    Hello,
    I congratulate you for this amazing script. I try its lite version for my internet site project. I want to calculate the price with a different method. Due to using my method, I need box_volume value. When I have searched for this value, I couldn’t find how this value be to get the main page. Can you help me? How can I find box_volume value?
    Thank you.

    Plugin Author fuzzoid

    (@fuzzoid)

    Box volume is width*length*height. Dimensions are calculated through the bounding box. Bounding box is stored in p3dlite.boundingBox variable.

    Thank you for your answer. In which php page does p3lite.boundingBox value be get/post? And how?

    Thank you.

    Plugin Author fuzzoid

    (@fuzzoid)

    In includes/3dprint-lite-frontend.php, p3dlite_request_price functon. Dimensions are posted in $_POST[‘p3dlite_scale_x’], $_POST[‘p3dlite_scale_y’], $_POST[‘p3dlite_scale_z’] variables.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Box Volume value needs’ is closed to new replies.