Hi fellow zenners,
I got a quick question for you all... I've been using this system for less then half a year, and am still having trouble find snippets of codes i want to edit and change......
im currently using 1.8.5... i think.... xD... should be.. to much numbers to remember....
what im looking for...
" I need to get my price to change by having it be inputted by a customer in a input-text-field.... "
With currently what i have built right now..... that is the simplest way to say what i need done...
but ultimately what I'm after is to have an outside source price be inputted into zen-cart, WITHOUT having change the attribute price... Hence, render the price of the attributes from a custom Database,
Current Standing
Right now I'm able to input the cost of the attributes into the text field, but I'm unable to find where i can tell it to read my pricing rather then the one set in zen cart...
where the help is need...
I need to find the code that tells zenny's structure to read my secondary DB for the attribute pricing of the product, rather then its own DB
MY CURRENT MOD STORY
currently im merging another database driving web modules into zen-carts product-info page, with-out completely merging the two system, so they ARE NOT co-dependent on one another....
Currently I have several text fields defining ONE product... and that one product being outputted with several defined variables telling it how to read my product...
Here is my current $_SESSION['cart'] array printed.... NOTICE how im only reffering to Product 184
Product 184 is my base product image that holds the attribute controllers, but i want to be able to change the prices of each size, color, item, or any other feilds i wish to add.... WITHOUT it changing the pricing for my other inputs....PHP Code:shoppingCart Object
(
[contents] => Array
(
[184:cabb209e0ab403dc52e02c42892107dz] => Array
(
[qty] => 1
[attributes_values] => Array
(
[1] => 3XL
[2] => Grey
[8] => Sweatshirt $15.89
)
[attributes] => Array
(
[1] =>
[2] =>
[8] =>
)
)
[184:8a50d9703de2d9051178d867df73202z] => Array
(
[qty] => 7
[attributes_values] => Array
(
[1] => 3XL
[2] => Navy
[8] => Sweatshirt $15.89
)
[attributes] => Array
(
[1] =>
[2] =>
[8] =>
)
)
)
[total] => 0
[weight] => 0
[cartID] => 21923
[content_type] =>
[free_shipping_item] => 0
[free_shipping_weight] => 0
[free_shipping_price] => 0
[observers] => Array
(
)
)
IM AVOIDING CREATING NEW PRODUCTS FOR EACH....
So with that one product... where can i tell it to read a custom price for each of the attributes i'm going to define for it?
WHERE CAN I FIND THE FUNCTION I CAN CHANGE SO THAT THE ORDER OF EACH ITEM IN THE CART AND THE ORDER READS THE CUSTOM PRICE I'LL BE INPUTTING?
I'm looking to leaving the order process untouched as much as possible... everything needs to be render in the cart and not just front end stuff...
thanks any help would be greatly appreciated.
i attached an example image


Reply With Quote
