I totally understand and I appreciate your looking into this. The mod you helped me with back in September and worked really well with the drop-downs. The above code is the only part we changed...
Type: Posts; User: Fay808
I totally understand and I appreciate your looking into this. The mod you helped me with back in September and worked really well with the drop-downs. The above code is the only part we changed...
order.php with the weights added mod
simple mod
$subindex = 0;
$attributes_query = "select products_options_id, products_options_values_id, products_options,...
the tpl_account_history_info.php
<?php
for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
?>
<tr>
<td class="accountQuantityDisplay"><?php echo $order->products[$i]['qty']...
It is in classic mode - I did make a mod to the order.php to include the weights in the orders. When we originally had the drop-drown for the subs it rendered well. Why when we switched to text it...
sorry we are still in testing mode and installed zip ship and are currently programming the zip codes in - use the zip code 07840... we will be finished with this tomorrow...
http://www.suburbanorganics.com
Please note - my clients could not get their head around adding attributes in drop-downs for the menu each week - so I had to make a separate sub (text) and weights...
Hi and thanks Ajeh "Queen of Zen Cart" - its actually the checkout confirmation page and orders in admin not showing the text inputed.
The Option Name is Text and has no Option Value
I see the...
When a user enters text in the attributes Text Field only the first letter renders in the cart.
I don't know why only the first letter shows???
There must be a scripting issue here but as to...
I currently have a unique domestic shipping rate mod and would like to combine the if ($order->delivery['company'] != '') like in the FedEx mod to provide a different quote based on the user entering...
Mine is timing out as well. I do have quite a bit of mods going. I did get it to work on a shell site. Any ideas as to why when I want to confirm checkout, the tpl_checkout_default page just...
So of course it worked!
Your code is beautiful and easy to mod - thank you.
Expect a donation asap.
Ajeh, again, great to be in your presence.
Thank you.
And I misread your post linked above - sorry man!
Oh man I am kicking myself right now!!!!!!
Let me code this and see if it works - duhhhh
No wonder - in my previous posts I was thinking there must of been another file to add the arrays for...
So far I have the tpl order history, tpl confirmation and email confirmation parsing weights.
Now I need in admin to view the invoice.php, orders.php, and packingslip.php with the weights.
For...
attached
sorry read your post after sending zip
Yes I made the changes as detailed.
Shall I upload the file? Have a look see.
Hi Ajeh,
No addons - latest version - downloaded 2 weeks ago.
This is how it looks in admin/orders.php
By the way I used weight singular as well, it doesn't really matter if I build it with whatever name I want to right?
This is what the ref on my page looks like - there are 2 references for the subindex - I coded both
Thats pretty much what I did - still no go.
Is it odd that the tpl picks it up but not admin?
I called the array weights - email confirmation picks as the string below works, I know it doesn't...
Well as its an delivery service based on weights of produce into a box...I need to show the weights on the invoices, packing slip and order pages in admin. as we will print out the slips, take them...
So far working nicely: check out confirmation + email + order history all good BUT
In Admin: Orders + Invoice + Packing slip weights NOT showing up?
if...
I know its my string - I see how order.php is called from the before mentioned pages - I will keep trying how the string should call the products weight. Answering my own question. The string is not...
Hi - sorry I was away - now I am back. Great thanks for that - I did it again!!
I achieved the array in the orders.php and now can see the weight in orders history.
However I would like to...
Thank you! One more major thing if I may?
So I have entered all the options for each product and can now see the weights in the shopping cart itself - great!
Of course I want to show the...
YOU ROCK
I DID IT!!!
I AM VERY HAPPY AND NOW CAN FINISH MY PROJECT
EASY TO CUSTOMIZE
THANK YOU THANK YOU
Hello just saw this - I am trying your suggestion - thank you so much!
Stay tuned - btw I am very happy with everything in Zen Cart. Its a wicked program and everything up to this point has been...
Want to be able to have the poundage show so I know what to put into each box
Anyway thanks for your help and thoughts - guess I will have to either re-think this or hire a coder who knows this...
Yes I am a pretty good manipulator of code -
in tpl_shipping_default.php is where the mod must take place I believe
<li><?php echo $value['products_options_name'] . TEXT_OPTION_DIVIDER ....
Yes I see them too but when you add to the cart it doesn't show individual weight next to option
Weights show on product info page but not in actual shopping cart it just has the option name with...
Okay - I uploaded original tpl shopping default again to no avail.
I don't think its css and I have not done any major mods to any pages.
Here is the URL - there is no product weight - just...
I am using Classic template
Seems so simple to list the weight next to option in cart???
Bananas - 1.5 lbs.
It should call the products_attributes_weight
Hi - and thanks - sorry for the bother - great for a reply!
It is turned on - I want to show the option value weight in the actual cart page for each product attribute.
Like this
product...
<li><?php echo $value['products_options_name'] . TEXT_OPTION_DIVIDER . $value['products_attributes_weight']; ?></li>
this is on the tpl_shopping_cart_default.php where it lists the product option...
In the shopping cart it adds the total weight up top amount as we know based on the option value weight.
I want to also show the individual attribute weight for each item.
So for instance...