Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Kory 14 posts 34 karma points
    Nov 13, 2013 @ 18:29
    Kory
    0

    Where do you change the Delivery tab info on item page?

    I have looked everywhere, so I am sorry if this is dumb.

    I can't find it for the life of me on any of my products.  It's just lorem ipsum.

    Thanks.

    Kory

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 13, 2013 @ 21:32
    Dennis Aaen
    0

    Hi Kory,

    I have just setup a local installation of uCommerce with the Razor demo store.

    The text on the delivery tab on the product page is in the macro script called product.

    The macro script for the product is locked \MacroScripts\uCommerce\Product.cshtml. So text is hardcoded in the razor demo store.

     <div id="delivery-info" class="tab-pane">
        <p>
            Lorem ipsum dolor sit amet, consectetur adipiscing elit.
            Maecenas placerat elementum tristique. Ut ut pretium massa.
            Nullam mollis lobortis rutrum. Integer quis tellus enim.
            Donec viverra aliquam faucibus. Nam ac eros velit. Mauris vel adipiscing turpis.
            Mauris id tortor et augue tincidunt molestie in sed lectus.
        </p>
    </div>

    Hope this helps you.

    /Dennis

  • Kory 14 posts 34 karma points
    Nov 13, 2013 @ 22:20
    Kory
    0

    Thanks for the reply.

    That's what I feared.  I'm going to work to figure out how to pull that from a value stored for each product b/c not all my products ship the same day.

    Any ideas on that appreciated, but I don't think it will be too bad.  I'm just not a .net guy normally.

    Thanks again.

    Kory

  • Morten Skjoldager 440 posts 1499 karma points
    Nov 14, 2013 @ 08:56
    Morten Skjoldager
    1

    Hi Kory, 

    Of course that is confusing if you haven't used it before. Luckily for you we've made it fairly easy to deal with. 

    First of, you have to make a choise weather this should be info on the main product or the product variant. Either way you have to add a productdefinitionfield to your productdefinitions. Go to Settings -> definitions -> productdefinitions. you have to add a field for every product you want delivery info on. Either datatype that contains strings would do it.

    Now you have to pull that information out again. Once again lucky for you this is very easy. Just take a look at where some of the other variables is placed and get the information like this: 

    var deliveryInfo = @product["DeliveryInfo"].Value;

    Now you can output the deliveryInfo in the delivery tab instead of lorem ipsum. :) Remember the string in your indexer should match what you call the productdefinitionfield. 

    Hope that helps

  • Kory 14 posts 34 karma points
    Nov 14, 2013 @ 15:29
    Kory
    0

    Morten,

    That was the line I was starting to take and thanks so much for your thorough explanation.  That really clarifies it.

    I think it also helps me solve my question here:

    http://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/46169-How-to-make-Item-page-price-reflect-the-price-of-a-variant

    Basically, the price on the page is pulling the price on the main product, but does not reflect on the item page when the variant is selected.  It does, on the other hand, add the correct variant and pricing to the cart when you add the cart.

    If you know, should I make an output (in plain English not code) that basically says show the main product price unless a variant is selected?

    Basically I am selling picture frames and each frame is available is many sizes, so I am using the main product variant model.  I'll then show other colors as related products so I have more pages for SEO purposes.  On my page I changed the price to state "Starts at" and I am working to make the price change.  It's the last thing I need to do before I load the data and customize the templates (working on that too).

    The page is http://www.theframeroom.com/ready-made-frames-from-the-frame-room/ready-made-picture-frames/sustainably-sourced-wood-frames/gold-compo-frame/c-24/c-89/p-10213 in case you want to see what I mean.

    Thanks so much!

    Kory

  • Morten Skjoldager 440 posts 1499 karma points
    Nov 15, 2013 @ 11:51
    Morten Skjoldager
    0

    No problem, i guess you also recived an answer to the other question you posted :) 

    Have a nice day,

    Morten

Please Sign in or register to post replies

Write your reply to:

Draft