Forums / Setting Up Categories, Products, Attributes / adding to cost attributes problem

adding to cost attributes problem

Locked

Started by wickedklown on 14 Jun 2006, 4:55 AM · Views: 3,129

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
14 Jun 2006, 4:55 AM
#1
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

adding to cost attributes problem

hello there...
Im having some issues with atributes....

I have an item, and it has a set cost for the item.

Im tring to setup an attribute that when they select one of the options from the dropdown menu, it adds to the price depending on what they want to add..

I tried to add price with prefix price +50.00 and weight +12.5. But when i go to the live site and check it, the weight is correct, but the price shows +0.00. I cant seem to figgure out how to add to the price of the item by attributes. Iv been through the attributes HOW TO, but still didnt get a solid answer..

if anyone could help that would be great.
Thanks
Wicked

Super Orders2
Info at a glance
export email address
encrypted master pass
quick updates
recover carts
order Tracking
Tabbed products lite - admin edition
Hosted with sashbox.net <- best host around...

14 Jun 2006, 5:05 AM
#2
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: adding to cost attributes problem

wickedklown:

hello there...
Im having some issues with atributes....

I have an item, and it has a set cost for the item.

Im tring to setup an attribute that when they select one of the options from the dropdown menu, it adds to the price depending on what they want to add..

I tried to add price with prefix price +50.00 and weight +12.5. But when i go to the live site and check it, the weight is correct, but the price shows +0.00. I cant seem to figgure out how to add to the price of the item by attributes. Iv been through the attributes HOW TO, but still didnt get a solid answer..

if anyone could help that would be great.
Thanks
Wicked

Sorry for the double post, But it seems like its working when you go to checkout. It does add the price to the actualy cost of the item. But in the dropdown box it only shows +0.00 doesnt show them how much it will be to add the items to there order....

Any way to fix this? or am i doing something wrong?
thanks again

Super Orders2
Info at a glance
export email address
encrypted master pass
quick updates
recover carts
order Tracking
Tabbed products lite - admin edition
Hosted with sashbox.net <- best host around...

14 Jun 2006, 5:43 AM
#3
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: adding to cost attributes problem

wickedklown:

Sorry for the double post, But it seems like its working when you go to checkout. It does add the price to the actualy cost of the item. But in the dropdown box it only shows +0.00 doesnt show them how much it will be to add the items to there order....

Any way to fix this? or am i doing something wrong?
thanks again

Im almost thinking this may be a bug, or maybe something contib i have?!??
im not sure could be that Tabproducts thing.. But when i preview the attribute it displays fine.. just not on my cart...

Super Orders2
Info at a glance
export email address
encrypted master pass
quick updates
recover carts
order Tracking
Tabbed products lite - admin edition
Hosted with sashbox.net <- best host around...

14 Jun 2006, 6:12 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: adding to cost attributes problem

In your product listing in the admin set the product to be priced by attributes first.

assuming that you have setup an option name and linked it to an option value, then in the attributes controller select the product and display you either have attributes applied to the product or will be informed that there are no attributes for this product.

normally you select an option name and then an option value in the provided boxes and the value will have in ( ) the name associated with it.

in the first price box enter the price add the next box the weight and insert. Now while still in the admin you should see the attribute and values of same that you have just added. If you do not you will not see it in the cart either and there is something that you have not done correctly.

Zen-Venom Get Bitten

14 Jun 2006, 3:11 PM
#5
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: adding to cost attributes problem

kobra:

In your product listing in the admin set the product to be priced by attributes first.

assuming that you have setup an option name and linked it to an option value, then in the attributes controller select the product and display you either have attributes applied to the product or will be informed that there are no attributes for this product.

normally you select an option name and then an option value in the provided boxes and the value will have in ( ) the name associated with it.

in the first price box enter the price add the next box the weight and insert. Now while still in the admin you should see the attribute and values of same that you have just added. If you do not you will not see it in the cart either and there is something that you have not done correctly.

The attribute is actualy working.... it does do what i want it to... just that it dont display the price for that attribute. however you put the items in your cart, and it shows correctly...
http://www.myrcsupply.net/index.php?main_page=product_info&products_id=575

Super Orders2
Info at a glance
export email address
encrypted master pass
quick updates
recover carts
order Tracking
Tabbed products lite - admin edition
Hosted with sashbox.net <- best host around...

14 Jun 2006, 4:36 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: adding to cost attributes problem

I see not Attributes on this Product ...

What Attribute Option Type are you set to on the Option Name?

If you swtich to Classic does it work?

If you swtich to Classic does it work and rename /templates/classic to /templates/classic_HIDE does it work?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Jun 2006, 5:26 PM
#7
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: adding to cost attributes problem

Ajeh:

I see not Attributes on this Product ...

What Attribute Option Type are you set to on the Option Name?

If you swtich to Classic does it work?

If you swtich to Classic does it work and rename /templates/classic to /templates/classic_HIDE does it work?

Im using the classic template right now. iv tried just about everything.

Im sorry it wasnt present for you to see, but the attribute is active right now. I was playing with it trying to figgure out why it wasnt displaying the price. i still cant figgure it out...

Since im using the classic template should i be changing the files at all? im not sure.

any help would be great.
Thanks

Super Orders2
Info at a glance
export email address
encrypted master pass
quick updates
recover carts
order Tracking
Tabbed products lite - admin edition
Hosted with sashbox.net <- best host around...

14 Jun 2006, 5:33 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: adding to cost attributes problem

I think if you compare the /includes/functions/functions_prices.php and /includes/functions_general.php you will find differences between them that are blocking the pricing on the Attributes ...

Last person with this issue had added an add-on for wholesale prices and the code did not allow the Attribute prices to display properly ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Jun 2006, 5:36 PM
#9
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: adding to cost attributes problem

hmm, so how would i fix this? by making the changes from the first file you said to the other? or what?

It would be nice to keep my wholesale pricing together and still be able to use attributes on my items.

Thanks for your time
Benjamin

Super Orders2
Info at a glance
export email address
encrypted master pass
quick updates
recover carts
order Tracking
Tabbed products lite - admin edition
Hosted with sashbox.net <- best host around...

14 Jun 2006, 5:56 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: adding to cost attributes problem

Well ... you could check with whoever wrote the add-on and see if they have a fix for it ...

Or, toss the add-on and have the prices display right ...

Or, get someone else to figure out the code and what is being broken because of this add-on ...

The code works correctly in Zen Cart ... but the add-on is breaking the calculations for the display ... somewhere ... the add-on needs to be fixed to work with your products so that you can get the right display prices ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Jun 2006, 6:01 PM
#11
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: adding to cost attributes problem

right, well i looked at the file that had been changed, but my lack of knowlage for php makes it hard for me to pinpoint where the problem is.. i know its in Functions_prices.php becuase thats the file that i have changed to the new add-on from Profit markup calculator.

maybe ill see if anyone wants to make a couple bucks fixxing this up for me

thanks for your time.
Benjamin

Super Orders2
Info at a glance
export email address
encrypted master pass
quick updates
recover carts
order Tracking
Tabbed products lite - admin edition
Hosted with sashbox.net <- best host around...

15 Jun 2006, 5:50 PM
#12
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: adding to cost attributes problem

Found the problem and fixed it. It had to do with Session Conditionals....

its now working perfectly. shows the attribute price and calculates it.

Super Orders2
Info at a glance
export email address
encrypted master pass
quick updates
recover carts
order Tracking
Tabbed products lite - admin edition
Hosted with sashbox.net <- best host around...

15 Jun 2006, 6:20 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: adding to cost attributes problem

What were the exact changes that you need to do to fix this?

Many have run into this issue with that add-on and could really use a step by step on fixing the display price on the attributes if this add-on is added to their sites ...

Thanks :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Jun 2006, 8:04 PM
#14
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: adding to cost attributes problem

alright the problem is found in functions_price.php file located in /includes/functions/

locate "zen_get_attributes_price_final function"

he had to comment out the session conditional.

here is a copy of the working file....

Super Orders2
Info at a glance
export email address
encrypted master pass
quick updates
recover carts
order Tracking
Tabbed products lite - admin edition
Hosted with sashbox.net <- best host around...

15 Jun 2006, 8:06 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: adding to cost attributes problem

Thanks very much for the post and the download ... this will be of real help to others ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Jun 2006, 8:16 PM
#16
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: adding to cost attributes problem

anytime, i try to help as much as i can..... but im not that much of a help, heh...

gota give to recieve, right. ;)

take care

Super Orders2
Info at a glance
export email address
encrypted master pass
quick updates
recover carts
order Tracking
Tabbed products lite - admin edition
Hosted with sashbox.net <- best host around...