Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2006
    Posts
    28
    Plugin Contributions
    0

    Default Setting up custom options?

    Hi,

    I am using Zencart in a site that sells shoes online. I need to have an option on the product page that allows you to select what size of shoe you wish to purchase.

    The admin would need to be able to dictate what sizes are available on a product by product basis as well.

    Is there a way that is already built into Zencart that would allow something like this? Or will I have to "hack" the code to add this option in myself?

    Any help is appreciated!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,697
    Plugin Contributions
    6

    Default Re: Setting up custom options?

    Stock by Attribute is not available yet with Zen Cart ...

    This should be out in v1.4 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: Setting up custom options?

    Ajeh's comment that Stock (quantities on hand) by Attribute is not available yet is correct; but if you meant your question a different way, there *is* a built-in system for setting the sizes (colors,etc.) a product comes in and allowing the customer to choose. The admin can set the choices by product or en masse.

    In admin > Catalog > Option Names, make an option Size and choose the type (dropdown, radiobutton, etc.)
    In Option Values, create all the values Size might have.
    In Attributes Controller, pick a typical product and add attributes to it. In the "ADDING NEW ATTRIBUTES" section, pick the option name and first value and click to add; repeat for all the values you want.

    You can then copy this set of attributes to other products easily. There are many subtleties to the attribute creation process depending on what you want to do.

  4. #4
    Join Date
    Jun 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: Setting up custom options?

    Thanks.. that is what I was looking for.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    5,003
    Plugin Contributions
    6

    Default Re: Setting up custom options?

    Just an addendum to adding things like size, color, height, weight.....etc.

    Set your first item as Please Select a Size and make it Display only and the default.

    Otherwise the customer can order without ever really selecting those 14 D loafers they were after.

    Just another tip I got from Ajeh!
    Did you read the posting tips?!?
    Things We've Done
    MOD: Scheduled Events

  6. #6
    Join Date
    Sep 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Setting up custom options?

    I want to done some calculation on price, on product info display page, that give me a new price for product, now I want that zencart will accept my this new calculated price and passed to add to cart, but it not working as it every time accept there previous price, so my question is that, did any one give me an idea, that what variable is used for price, that I will assigned my calculated value.

    or any other idea, you people have that i will assigne my this procduct price into the zencart cart , that it will tranction will be donw on my new value.

    this is the link
    http://team-kh.awpdc.com/~zadhnanr/b...roducts_id=483
    Thanks
    Zahid.
    Last edited by Zahid Hussain; 9 Nov 2009 at 01:13 PM.

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: Setting up custom options?

    Try Chrome's Dynamic Price Updater mod from Free Addons.

  8. #8
    Join Date
    Sep 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Setting up custom options?

    <form action="" method="post">
    <table width="100%" height="129" border="1" align="center">
    <tr>
    <td height="27" width="50%" bgcolor="#A9A9A9" ><b>Enter Your Square Footage below:</b></td>
    <td bgcolor="#A9A9A9"><b>Your Material cost</b></td>
    </tr>
    <tr>
    <td width="50%" align="center"><br /><input id="size" size="15" name="boxsize" /></td>

    <td>
    <?php

    $box=$_POST['boxsize'];
    //echo $box;
    if($box==0)
    {
    echo 0;
    echo " "."boxes";
    }
    elseif($box<$products_colour)
    {
    echo 1;
    echo " "."boxes";
    }
    else
    {
    //echo "now more than 20";

    $noboxes=($box/$products_colour);

    $finalbox= ceil($noboxes);
    echo $finalbox;
    echo " "."boxes";

    }
    ?>
    <br /><br />
    <?php
    if($finalbox<1)
    {
    echo 1;
    echo " "."sq.ft";
    }
    else
    {
    $sqft=($finalbox*$products_colour);
    echo $sqft;
    echo " "."sq.ft";
    }
    ?>
    <br /><br />
    <?php
    //echo $pri;
    $price= $finalbox*$pri;
    echo " "."$".$price;

    //$_SESSION['myprice']=$price;
    //echo $_SESSION['myprice'];
    ?>
    </td>
    <tr><td height="25" colspan="2" align="center"><input type="submit" value="Calculate" /> </td></tr>

    </tr>
    </table>
    </form>

    my last calculated price value is "."$".$price;, file name is product_info_display.php

    now i want that i will add my calculated price as zencart calculated price also.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •