Guest Posted April 28, 2004 Posted April 28, 2004 I am building a catalog for a site that is selling films both in DVD and VHS format. What they would like to do is put in the film description once together with the price for both DVD and VHS formats. The customer then has the option of adding either the DVD or the VHS version of the film to their shopping basket. Any ideas anybody?
Colin Posted April 28, 2004 Posted April 28, 2004 Yes.. you'll have to add the field in /admin/categories.php You'll have to add the function in /admin/includes/functions.php You'll have to add a couple lines of code in /admin/includes/languages/english/categories.php You'll have to add a second price field in the products table in the database You'll have to add a line of code to call the code in your product_info.php page.. later, colin
Guest Posted April 30, 2004 Posted April 30, 2004 Not to mention the shopping basket and checkout so they can handle multiple prices for one product, they have to be able to figure out which one the shopper has chosen.
saleem145 Posted April 30, 2004 Posted April 30, 2004 Perhaps there is an easier way to do this by defining a product attribute which can be either VHS or DVD?? Saleem
meandrew Posted May 1, 2004 Posted May 1, 2004 I personally would add this to the attribute as has been suggested, however I have a further question regarding this 2 prices for the 'same product' if a product is X amount and the product is a combination of constituent products and each constituent is x amount any ideas on how to display the constituent product price, and more importantly if a different currency is selected how would the exchnage rate kick in for this price? A jar of beans is 100 a jar contains 50 beans each bean is 2 it is the 2 that I want to display?? Andrew
Guest Posted May 3, 2004 Posted May 3, 2004 No, we have film in DVD and VHS format, different price for each, no fixed differnetial, no fixed anything in fact. Using the options is difficult when you have anything over five items with options, there will be large numbers of films. Try adding some options to a product some time and you will see what I mean, annoying and mistake prone just about covers it. I have just looked at adding the second price option to the shopping basket, this would be fairly easy if just one method of storing the basket had been adopted, unfortunatley the list is stored in session variables if the shopper is not logged in and in the database if they are, this produces such a complex set of routines that it is hard to know where to start modifying them. Suggest they assign negative customer numbers to unlogged in customers and clean out when a session times out next time, they could then use one set of routines for both. Going away to figure out how to hack the options and attributes so that it can all be entered in one go, it cannot be any harder. Jules
meandrew Posted May 3, 2004 Posted May 3, 2004 I am sure why you think the attibites isn't the easiest way to deal with this? I knwo what it is like with more than 5 products! http://www.boltjeans.co.uk/wear/default.php check out how many attributes are there!! we have over 40 pages in the admin ;) I think you maybe better off asking the developers for something on this one and not genral support. <thinking out aloud> could the currency feature be hacked to do what you are trying to do? </thinking out aloud> Andrew
craigw Posted May 13, 2004 Posted May 13, 2004 Forgive me if I'm being dense, but doesn't the most recent release of Easy Populate deal with this? Allows attribute control from within Excel .cvs, as I understand it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.