Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
Hi I have DPU installed and this great mod works fine but what I wanted to do was display some attributes as links (href) so when you click on one it changes the price and DPU, so I thought the easiest way would be to just change the attribute drop down and make it hidden all using this code:
<a href="javascript:void(0)" id="option1">£49.00</a>
<a href="javascript:void(0)" id="option2">£89,99</a>
<a href="javascript:void(0)" id="option3">£109.00</a>
<script>
$('#option1').click(function() {
$('select[name=id[2]] option[value=1]').attr('selected', 'selected');
});
$('#option2').click(function() {
$('select[name=id[2]] option[value=2]').attr('selected', 'selected');
});
$('#option3').click(function() {
$('select[name=id[2]] option[value=3]').attr('selected', 'selected');
});
</script>
id[2] is my attribute drop down box which changes fine but DPU does not update as I though it would any idea how I can get around this..
Thanks in advance.
Maxell
Well, i've installed the files ok,
read through the readme,
and.....nothing
am i missing something?
Cookiie
Heres a link
http://www.ezlivingfurniture.ie/bedr.../bedframe-test
Thanks!
Anyone there?
![]()
I am doing something very similar to this and have been pulling my hair out for the past fortnight trying to solve the update problem! I thought a simple refresh on the radio button would solve it but it doesn't seem to work!
If anyone has any idea on how to solve this that would be fantastic!
Josh
Has anyone found the solution to this error:
PHP Warning: Variable passed to each() is not an array or object in /home/xxxxxx/public_html/includes/classes/dynamic_price_updater.php on line 198
Line 198 reads like this:
while (list($option, $value) = each($this->_shoppingCart->contents[$this->_post['products_id']]['attributes'])) {
Any suggestions or a fix would greatly be appreciated.
Thanks
Zen Cart user all the way for online stores!
I mentioned this same error a few months ago. Dan said that he created a fix but has since lost the files and unfortunately I wasn't made aware of the fix files otherwise I would have a copy of them to share with you.
Hopefully he will be better soon and will be able to continue his work on this fantastic mod and these issues will be resolved.
I must say that I am very surprised at the small amount of people who seem to have this same issue. Or perhaps they are not checking their error logs so they are unaware of it?
Either way I hope Dan gets better soon and is able to remember what he did so this mod can be fixed.
A just spent 30 minutes researching this thread and I think I might be missing the forest for the trees. Could someone quickly tell me how to set up price tiers for product quantities. I've installed this contribute, but I can't find anywhere to set this up. Thanks... I'm obviously missing something obvious...![]()
If everybody had money, there would still be the poorest man in the word; If everybody had love, it wouldn't matter.