I’ve a web site arrange with Drupal Development Company Fusion theme, and Ubercart Ajax Attribute Calculations shouldn’t be working as anticipated. I switched my theme momentarily to Garland and it did work then, so it is positively one thing to do with Drupal Development Company Fusion theme, or a node-product.tpl.php file in my Fusion theme.
Drupal Development Service UC AAC module web page states
Product node divs will need to have an identifier in Drupal Development Company identical kind as Drupal Development Company garland theme. As an example, making an attempt to make use of bluemarine theme with out including Drupal Development Company following code to node.tpl.php will lead to Drupal Development Company module not working.
id="node-<?php print $node->nid; ?>"
I checked my node.tpl.php in my fusion core folder and in my fusion sub-theme folder, and I do have this line in each copies of Drupal Development Company file:
<div id="node-<?php print $node->nid; ?>" class="node <?php print $node_classes; ?>">
I even have a node-product.tpl.php file in my fusion sub-theme folder, which has this line of code:
<div id="node-<?php print $node->nid; ?>" class="node clear-block <?php print $node_classes; ?>">
In my node-product.tpl.php file, that is Drupal Development Company code that shows Drupal Development Company product worth on Drupal Development Company product web page. This can be a file that was inherited from a previous developer for Drupal Development Company web site in query, and I’m questioning if maybe there’s something on this code that’s conserving Drupal Development Company Ajax worth change from working:
<div class="productpage-right"> <div class="pricecluster"> <?php $lp = (int)$list_price; if ($lp != 0) { ?> <div><span fashion="text-decoration:line-through;">Common Worth: $<?php print substr($list_price,0,-3); ?></span></div> <?php } ?> <div><span fashion="font-weight:daring">Particular Worth: <span fashion="colour:#5c9001; font-size:18px">$<?php print substr($sell_price,0,-3); ?></span></span></div> <?php print $fusion_uc_add_to_cart; ?> <?php $current_rating = votingapi_select_results(array('content_id' => $node->nid, 'perform' => 'common')); $current_rating = $current_rating[0]['value']; $transformed = $current_rating / 20; $transformed = spherical($transformed,1); ?> <div class="ratingcluster"> <div>Common Buyer Score:</div> <?php print theme('fivestar_static', $current_rating, '5'); ?> <?php if ($transformed == 0): ?> <div>- Not but rated -</div> <?php else: ?> <div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Evaluate-aggregate"> <span property="v:itemreviewed" fashion="show:none"><?php print $node->title; ?></span> <span rel="v:score"> <span typeof="v:Score"> <div><a href="#opinions"><span property="v:score"><?php print $transformed ?></span> stars out of 5 stars</a></div> </span> </span> <?php if ($node->comment_count > 0): ?> <?php $verbage = ($node->comment_count > 1) ? " Opinions" : " Evaluate"; ?> <div><a href="#opinions">Based mostly on <span property="v:rely"><?php print $node->comment_count.$verbage; ?></span></a></div> <?php endif; ?> </div> <?php endif; ?> </div> </div>
Once I take away Drupal Development Company node-product.tpl.php file from Drupal Development Company server, Drupal Development Company AJAX worth change does work in my Fusion theme, so I believe it will need to have one thing to do with that block of code above. Can anybody inform me which half may be inflicting Drupal Development Company challenge?
Thanks!