Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Nelson Jeronimo

    (@nelson-jeronimo)

    Now I need serious help…

    Please have a look at this preview while reading my questions: https://dl.dropbox.com/u/6704016/product2.jpg

    First thing: this is the same website as before but with a new design/layout. I did not include a 2nd image that show up in the product page ’cause I think there is no relevance for this matter now.

    Background info: I’m using woocommerce for this website. The products are “simple”, not variable ones. I’m using following fields:

    Title – For product name;
    Content edito “box”: SVG file;
    Product type: Simple product;
    Regular price: price (for each square meter)
    Dimensions (width and height only): for enter the minimum width and height;
    Featured Image: for a photograph showcasing the product.

    For my product page I’m overriding the woocommerce template single-product.php page with one of my own. I just copied the woocommerce file to my template folder and start editing the file.

    From the original file I’m just using the get_header(‘shop’) and do_action(‘woocommerce_before_main_content’) (for the breadcrumb that I’ve customized too).

    To display the draw I’m using a function that I find in some woocommerce file;

    than I have the section #1 (in the attached preview) where the user choose the finishing of vinyl (gloss, matte, specials) each finish as a different color pallete of colors. For this I’m using an PHP array in an external file, ’cause it is easier for us to manage for now instead of making the variations; (and I’m using javascript to change the SVG drawing color to the one clicked)

    section #2 is for choosing the orientation of the draw (right reading or wrong reading);

    section #3 is where the user chooses the size he wants for is final product. The fields are pre-completed with the minimum sizes I’ve set in the backoffice. Each time the user changes one of the sizes, it dinamically calculates the other.

    Than there is “Quantity”, “Value” (calculeted)…

    And finally my problem:
    What action am I supposed to attach to this submit button so I can send the collect data to the woocommerce cart?

    Help…

    Thread Starter Nelson Jeronimo

    (@nelson-jeronimo)

    Thanks pixel-jay,

    I think I can get it with Product Variations… Theres only a little detail that if you have any suggestion I would very much appreciate the help.

    I think that this one is more “wordpress rellated” than woocommerce. I would like to upload the .svg files from the wordpress backend, in the “new product” page! Any suggestion?

    Thanks in advance.

    Thread Starter Nelson Jeronimo

    (@nelson-jeronimo)

    Hi again, I forgot to post a link to a “preview” of the product page, so here it goes:
    http://dl.dropbox.com/u/6704016/product.jpg

Viewing 3 replies - 1 through 3 (of 3 total)