Log in
Virtuemart - Mynxx Bugs

One of the nicest setups for online store applications (i.e.: shopping carts) is Virtuemart using the Mynxx template by Rockettheme.com

But you can quickly become disillusioned by the frustrating bugs that crop up, not to mention the sparse documentation and spotty online support.  It's enough to make you want to buy that new Joomla / Virtuemart book - but don't.  I've read it and its as spotty as everything else, as though written by someone who setup a single Virtuemart site and thought he knew it all.

Back to bugs with Mynxx, the Rockettheme Virtuemart template -

One of the most obvious and aggravating problems was that when you click for Category view, Product Detail view or Ask a Question, you'd get the Mynxx featured products scroller module with the three (or however many you have) articles, as though these were the front page. 

This pushes the content your viewer is expecting to see, far down below the fold.  I'll show you some hacks to fix these problems, though I am hoping to find enough spare time soon to discover a more elegant solution.

Another thing that aggravates a lot of people, in the United States at least, is trying to find out how on earth to get the sales tax from showing in the prices.  In this country, we don't (yet) do VAT and we want to show pre-tax prices.

Search hard as you may, you won't find it in your Configuration; Store; Category or Products administration pages.  It's in the Shopper Groups page!  Once you find it, it's a simple matter to change the setting.

OK, back to the bugs in Mynxx and Virtuemart, and their fixes -

File: \components\com_virtuemart\themes\vm_mynxx\templates\browse\browse_1.php (& all other browse_ files in same folder)
Chg:
<?php // CompuSolver.com
$find = 'Itemid';
$product_flypage = str_replace($find, 'Stuff', $product_flypage);
?>

File: \modules\mod_rokvirtuemart_categories\helper.php
Chg: Line 47 //$item_id = '&Itemid=' . $sess->getShopItemid();  // removed by CompuSolver.com
chg: Line 51 //$link = sefRelToAbs('index.php?option=com_virtuemart&page=shop.browse&category_id=' . $category_id . $item_id . "&TreeId=$tree_id"); // removed by CompuSolver.com
Chg: Line 52 $link = sefRelToAbs('index.php?option=com_virtuemart&page=shop.browse&category_id=' . $category_id . "&TreeId=$tree_id"); // CompuSolver.com

File: \administration\components\com_virtuemart\html\shop.product_details.php
chg: at Line 345
// CompuSolver.com
$find = "Itemid";
$cs_fly = @$_REQUEST['flypage'];
$cs_fly = str_replace($find, 'Stuff', $cs_fly);

Chg: Line 346 - 355
/** Ask seller a question **/
$ask_seller_href = $sess->url( $_SERVER ['PHP_SELF'].'?page=shop.ask&amp;flypage='.@$_REQUEST['flypage']."&amp;product_id=$product_id&amp;category_id=$category_id" );
//$ask_seller_href = $sess->url( $_SERVER ['PHP_SELF'].'?page=shop.ask&amp;flypage='.$cs_fly."&amp;product_id=$product_id&amp;category_id=$category_id" );
$ask_seller_text = $VM_LANG->_('VM_PRODUCT_ENQUIRY_LBL');
// CompuSolver.com
$find = "Itemid";
$cs_ask_seller_href = str_replace($find, 'Stuff', $ask_seller_href);

//$ask_seller = '<a class="button" href="'. $ask_seller_href .'">'. $ask_seller_text .'</a>';
$ask_seller = '<a class="button" href="'. $cs_ask_seller_href .'">'. $ask_seller_text .'</a>';

I hope that helps you get your Virtuemart and Mynxx template playing nicely together.  Got questions, comments, a better solution?  Click the Contact link in our menu - I'd like to hear from you.

 

FREE Joomla Web + Design!

SmBizHosting.com offers free setup of Joomla website (sample data). CompuSolver.com offers SmBizHosting customers the RocketTheme.com design template of your choice installed with Joomla so you have a website all setup (with sample content) and ready for YOUR content for only $50. Read More

Website Fundamentals

Whether you're considering hiring a web professional or doing it all yourself, you don't want to miss this collection of ten short article tutorials covering marketing, search engine optimization, security and everything in between.. Read More

Web-Video Package

For a limited time, we are offering a web/video package that includes having your video shot, produced and posted to your new Joomla website (built by us) for as little as $1099 if you are within our coverage area between Kansas City and Dallas/Ft Worth. Read More
Joomla Web Development