Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] ProductFiles Directive -Revisited



******    message to minivend-users from Mike Heins <mike@minivend.com>     ******

Quoting Ramsey French (rammjet@mindspring.com):
> 
> Greetings!
> 
> I want to split my products database into two files.  For my products, the
> pricing and stock status will be changing regularly, so I want that in a
> separate file for easy updating.
> 
> My problem is getting [item-price] to display in the basket.
> 
> In catalog.cfg I have:
> 
> Database            products     products.asc      TAB
> Database            prices       prices.asc        TAB
> ProductFiles        products     prices
> PriceField          price
> CommonAdjust is commented out
> 
> "products" has the item code and "description" fields followed by various
> other description and searchable fields
> 
> "prices" has the item code field followed by "price" and some stock status
> fields
> 
> Using the code from ord/basket.html, the [item-code] and [item-description]
> display fine.  But the [discount-price] and [item-subtotal] display $0.00.
> 
> I tried replacing [discount-price] with [item-price], but that too is $0.00.
> 
> 
> Any suggestions on how to get this working?

I don't know why you thought this would work. Once MV finds the item
in "products" it will never consult "prices" at any time unless you tell it
to.

	CommonAdjust prices:price

MiniVend cannot read minds.

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
If you think nobody cares if        131 Willow Lane, Floor 2  | ||  _ \
you're alive, try missing a couple  Oxford, OH  45056         | || |_) |
of car payments.                    <mikeh@minivend.com>     |___|  _ <
 -- Earl Wilson                     513.523.7621 FAX 7501        |_| \_\
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: