Dynamic Pricing Display for attributes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emdub
    Mivite

    • Apr 2010
    • 134

    #1

    Dynamic Pricing Display for attributes

    I'm trying to add dynamic attribute pricing display in my store, but I'm having trouble getting to work. This is supposedly now built in, right?

    I am using Pamela Hazelton's Miva Merchant 5.5 Offical Guide (Second Edition), which has a section specifically for this (page 117 in the pdf, page 108 in the book) with step by step instructions, but after step 4 what the instructions say and what I see in my back-end do not match up.
    "1: In the Admin Menu, click PRODUCTS
    2: Open a product for editing.
    3: If necessary add an attribute with options and include an additional price on at least one.
    4: for the same product click INVENTORY VARIANTS"

    *Okay, easy enough, then comes the next part*

    "There are two ways to control product pricing:
    -Variant Price is set by the Master Product and its Attributes: This is standard method whcih lists the product's base price + the attribute/option price.
    -Variant price is set by the Inventory Product: The price, cost and weight displayed will be what is configured for an associated, variant product.
    5: Select the second option: Variant Price is set by the Inventory Product."

    *Select where? I'm guessing I need to click "add variant(s)" and select another product? There are 3 options here, the two listed before and a new one called "Specific Values". I enter a product, and select "sum of it's parts" (though I've also tried specific values).*

    "6: Click generate"

    There's no 'generate' button, I click 'add', which should be the same thing. The variant is added, and connected to a product. The master product should now show a different price when an attribute is clicked. I go, check my store, click the attribute and.....nothing. Hrm.

    I also have the Sebenza Product Template Manager, which is supposed to have the same capabilities, but it seem much more complicated, and I am having difficulty trying to isolate the javascript code from their default template code to integrate the js with my template. The other upside is that this method takes the price directly from the attribute, meaning I don't have to fuss with Inventory Variants.

    I would really appreceate any input on getting either method to work.
  • Keitho
    Mighty Mivite

    • Mar 2006
    • 634

    #2
    Re: Dynamic Pricing Display for attributes

    It does work but is not intuative the first time.

    I'd suggest working your way through the steps starting on Page 133 in this resource.



    I also recommend saving a .pdf copy it to your local system.
    Keith Oratz
    PrepareSmart, LLC - Emergency Preparedness Supplies and Professional Grade Search and Rescue Gear
    www.preparesmart.com

    Comment

    • emdub
      Mivite

      • Apr 2010
      • 134

      #3
      Re: Dynamic Pricing Display for attributes

      Thanks for the response. I went through that section carefully following each step, but it still is not working. My store is MMUI, in case that makes a difference. I wonder if there was an update to the templates that I missed?

      I gave the sebenza method another try and I managed to get it working....mostly. A while ago, I created this bit of code for when we're having a sale:
      Code:
      <mvt:if expr="l.settings:product:cost GT l.settings:product:price">
          Price: <s><span id="price-value">&mvt:product:formatted_cost;</span></s><br />
          Sale: <b><span id="price-value" style="color:#F00;">&mvt:product:formatted_price;!</span></b><br />
        <mvt:else>
          Price: <b><span id="price-value">&mvt:product:formatted_price;</span></b><br />
        </mvt:if>
      (In my store backend the normal price for a product is always stored in the COST field, the actual selling price in PRICE. When we're having a sale, I change the price, but leave the COST as is, and this check to see if cost is lower than price, and if so crosses out the higher number and shows the sale price in red.)

      The issue I'm running into now is that the sebenza method doesn't look at the cost field, so if there's a sale, and someone selects an attribute, the "sale price" is higher than the normal price.

      After reading the PR8 reference, I'm starting to think that might be a better system since it seems like it would work more easily with my 'sale price' display system.

      Comment

      Working...
      X