nubee45 Posted October 12, 2004 Share Posted October 12, 2004 I have been looking at installing Actual Attribute Price v1.2.2, but something looks a little odd to me. It seems like there is a lot of unnecessary code in general.php included in this contribution package, maybe from Easy Populate or some other contribution. I also haven't seen where the included categories_lookup.php is needed beyond the require statement at the end of the modified general.php. // WebMakers.com Added: Look up category functions require(DIR_WS_FUNCTIONS . 'categories_lookup.php') ?> I'm comparing the AAP 1.2.2 contribution to the 2.2ms2 osCommerce release unmodified general.php. Can anyone confirm my suspicions, or am I trying to debug something that isn't messed up? Also, does anyone have AAP working with Add Weight To Product Attributes? Any issues to look out for? Quote Link to comment Share on other sites More sharing options...
matbennett Posted November 11, 2004 Share Posted November 11, 2004 Does anyone have this working with on new versions of OSC? Works fine using set price attributes, but doesn't cope at all with attributes that either don't effect the price (price of the item ends up as 0), or with a price adjustment (base price + 2.00 will give a total cost of 2.00). Would really like to get this one working, as we have edited over 3000 attributes to be in line with this set-up. Quote Link to comment Share on other sites More sharing options...
edh1138 Posted November 11, 2004 Share Posted November 11, 2004 Eveyrthing aside with Esay Populate... I'm having problems with my shopping cart which is showing the base price + double the value of the attribute. For example, if hte base price is $100 and the attribute value is +20, the item in the cart would show $140. Can someone please show me how to fix this problem?? <{POST_SNAPBACK}> Not found the specific problem with this but have found a fix which appears to work.. In includes/classes/shopping_cart.php after if ($price_prefix == '+') { $attributes_price += $option_price; } if ($price_prefix == '-') { $attributes_price -= $option_price; } if (($price_prefix == '') and ($option_price > 0)) $attributes_price += tep_adjust_price($option_price,$products_price); else $attributes_price += $option_price; } add if ($products_price > 0.00) { $attributes_price -= $attributes_price / 2; } The attribute price then comes out correctly. Quote Link to comment Share on other sites More sharing options...
crashwave Posted January 19, 2005 Share Posted January 19, 2005 I added my actual attribute to the contribution page. Didn't see a need to start a new one it is for the same thing. I did not use any of the original releases. This one is not the same as the one posted first. Please take a look at it and tell me what you think. http://www.oscommerce.com/community/contributions,1716 Thanks Quote q_|_|| _|9~~J >-o>-o q_|_|| )| q_|| ) Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2005 Share Posted January 20, 2005 hmmmm :'( Cant say that this is the easiest install to follow :blink: Download the most current file, and its an html file. This file,, I see is clear,, in updating it once you have it installed... those are marked. But, I do not see a section for new install, so I will wait till someone can advise me. I am going into a loaded6 with it. So,, Where is the new install instructions..? :-" Regards Tom Quote Link to comment Share on other sites More sharing options...
crashwave Posted January 20, 2005 Share Posted January 20, 2005 So,, Where is the new install instructions..? :-" Regards Tom <{POST_SNAPBACK}> New Install Instructions? If you never had it do it all. All the steps. Quote q_|_|| _|9~~J >-o>-o q_|_|| )| q_|| ) Link to comment Share on other sites More sharing options...
crashwave Posted January 20, 2005 Share Posted January 20, 2005 I added new instal instructions http://www.dailywholesale.com/creloaded/Ad..._Prices_1.4.htm Quote q_|_|| _|9~~J >-o>-o q_|_|| )| q_|| ) Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2005 Share Posted January 20, 2005 Crashwave Thankkkkkksz, I figured that was where to start,, but wanted to be safe / instead of sorry. Cuz if something can go wrong,,, I am the one it will happen to,, lol Gonna work on this now,, Again, Thanks for the info Regards Tom Quote Link to comment Share on other sites More sharing options...
dumb_question Posted January 22, 2005 Share Posted January 22, 2005 i would like to install this contribution. Can someone tell me which one is the full version? thanks Quote Link to comment Share on other sites More sharing options...
crashwave Posted January 22, 2005 Share Posted January 22, 2005 i would like to install this contribution. Can someone tell me which one is the full version? thanks <{POST_SNAPBACK}> I don't know about anything before 1.3. But the full working version after that is 1.4 here http://www.dailywholesale.com/creloaded/Ad..._Prices_1.4.htm Quote q_|_|| _|9~~J >-o>-o q_|_|| )| q_|| ) Link to comment Share on other sites More sharing options...
Guest Posted January 26, 2005 Share Posted January 26, 2005 (edited) Hi, Is it possible to see a screenshot of this contributon in action? So one might see what it look's like? :-" Edited January 26, 2005 by Charles_K Quote Link to comment Share on other sites More sharing options...
kawagner Posted January 26, 2005 Share Posted January 26, 2005 (edited) you can go check out my cart and test it out. I just finished it and it works great. https://host169.ipowerweb.com/~crazyabo/cat...921bf71c744011f Thanks for the last post crashwave. :P Edited January 26, 2005 by kawagner Quote Kim Link to comment Share on other sites More sharing options...
dumb_question Posted January 30, 2005 Share Posted January 30, 2005 Without taking credit from the authors of this contribution, I believe the installation directions are somewhat confusing. I didnt find "For the function attributes_price($products_id) Delete the whole thing and add this //PHPMOM.COM AAP ---------" in my classes/shoppingcart.php. I will wait till someone comes up with clearer instructions. Quote Link to comment Share on other sites More sharing options...
crashwave Posted February 1, 2005 Share Posted February 1, 2005 (edited) What version of oscommerce are you using? I went and checked my original unedited download oscommerce_snapshot-20041003.zip osCommerce 2.2 Milestone 2 It is in there on line 260 in classes/shopping_cart.php if you are using a version that does not have that function 1- make sure you have all the other functions refered to in the install and 2- install it. here is the file with fixes if you have 1.3+ http://www.ehostingsource.com/phpmom/Advan..._Prices_1.4.htm here is the file from scratch if you never installed it or have anything before 1.3 http://www.ehostingsource.com/phpmom/Advan...Prices_1.4.html thanks kawagner Edited February 1, 2005 by crashwave Quote q_|_|| _|9~~J >-o>-o q_|_|| )| q_|| ) Link to comment Share on other sites More sharing options...
dumb_question Posted February 12, 2005 Share Posted February 12, 2005 I am using osc max version. I couldnt find it in the shopping_cart.php Quote Link to comment Share on other sites More sharing options...
fredfillah Posted February 13, 2005 Share Posted February 13, 2005 I tried to install this and there are some strange things happening. The attribute prices are still showing up in the pull down menus as +/- the base price...I thought this contrib showed the final adjusted price so that customers don't have to add and substract. Also, once an item is in the shopping cart, the pricing is wacky. If an item is added with a + attribute, the price seems to work...it only shows the final price, but if I add a $0 attribute, then the final price is $0 and it's also scratched out. Here's my test site to demonstrate. My Webpage Any assistance would be greatly appreciated. Thanks, Fred Quote -Fred Link to comment Share on other sites More sharing options...
crashwave Posted February 16, 2005 Share Posted February 16, 2005 (edited) but if I add a $0 attribute, then the final price is $0 and it's also scratched out. You do not pu the 0 if you do not want add or change the price to 0. just leave it blank. The attribute prices are still showing up in the pull down menus as +/- the base price...I thought this contrib showed the final adjusted price so that customers don't have to add and substract. Whatever you did witht he 0 value do it with the price you want to change it to. If it works with the 0 it will work with others. Modify the way you are adding the attributes. I moved the files here. sorry haven't paid that host yet here is the file with fixes if you have 1.3+ http://www.dailywholesale.com/creloaded/Ad..._Prices_1.4.htm here is the file from scratch if you never installed it or have anything before 1.3 http://www.dailywholesale.com/creloaded/Ad...Prices_1.4.html Send me an email if you still have problems Edited February 16, 2005 by crashwave Quote q_|_|| _|9~~J >-o>-o q_|_|| )| q_|| ) Link to comment Share on other sites More sharing options...
kawagner Posted February 16, 2005 Share Posted February 16, 2005 Crashwave can you help. It seems if my product for one is $2.00 and for a dozen it is $6.00. it shows fine inthe cart but when you go thru the checkout process it adds the $2.00 to the $6.00 price. The $2.00 price is the price I put in when I entered the item. I do not know how to fix this addition problem. Would you be able to help? Quote Kim Link to comment Share on other sites More sharing options...
kawagner Posted February 16, 2005 Share Posted February 16, 2005 I need to be able to use it both ways, with the + and - but with a fixed price. It seems to be adding the attributes price to the price I enter when I am setting up the item. Don't know why or where to go to fix it. I thought it was working fine - shows okay in cart but not once you enter echeckout. Anyone help please. :'( Quote Kim Link to comment Share on other sites More sharing options...
crashwave Posted February 16, 2005 Share Posted February 16, 2005 I need to be able to use it both ways, with the + and - but with a fixed price. It seems to be adding the attributes price to the price I enter when I am setting up the item. Don't know why or where to go to fix it. I thought it was working fine - shows okay in cart but not once you enter echeckout. Anyone help please. :'( <{POST_SNAPBACK}> Yes that was something I over looked in 1.3.. but everything works in 1.4. Did you go through all the steps? You must do steps 8 and 9 that fixes this problem. Quote q_|_|| _|9~~J >-o>-o q_|_|| )| q_|| ) Link to comment Share on other sites More sharing options...
kawagner Posted February 16, 2005 Share Posted February 16, 2005 Thank you so much _ i guess I missed those two steps - It looks great now. Your awesome - I was stressing. :D Quote Kim Link to comment Share on other sites More sharing options...
crashwave Posted February 17, 2005 Share Posted February 17, 2005 Your welcome Anytime :D Quote q_|_|| _|9~~J >-o>-o q_|_|| )| q_|| ) Link to comment Share on other sites More sharing options...
lil_cheeks Posted February 25, 2005 Share Posted February 25, 2005 Your welcomeAnytime :D <{POST_SNAPBACK}> Please someone help me!!!! I installed the 1.4 version. From what i understand you only have to steps 1 and 2. I never installed any other versions. After i did steps 1 and 2 nothing changed. I left my prefix box blank and when i went to test it i added an item to my cart and it was subtracting the number instead. Please tel me what i am doing wrong. I really want this to work for me. I enter setps 1 and two in this file....catalog->includes->classes->shopping_cart.php. let me know if i am doing something wrong. thanks! Nick Quote Link to comment Share on other sites More sharing options...
lil_cheeks Posted February 25, 2005 Share Posted February 25, 2005 Your welcomeAnytime :D <{POST_SNAPBACK}> Please someone help me!!!! I installed the 1.4 version. From what i understand you only have to steps 1 and 2. I never installed any other versions. After i did steps 1 and 2 nothing changed. I left my prefix box blank and when i went to test it i added an item to my cart and it was subtracting the number instead. Please tel me what i am doing wrong. I really want this to work for me. I enter setps 1 and two in this file....catalog->includes->classes->shopping_cart.php. let me know if i am doing something wrong. thanks! Nick Quote Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2005 Share Posted February 28, 2005 From what i understand you only have to steps 1 and 2. <{POST_SNAPBACK}> Hi, I'm just reading through the previous posts in this thread getting ready to do the install and what crashwave says on the 20tho f Jan is: New Install Instructions? If you never had it do it all. All the steps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.