Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: 1 ... 36 37 [38] 39 40   Go Down
Print
Author Topic: Featured Products Extended module  (Read 350035 times)
bortolani
Newbie
*
Posts: 29


« Reply #555 on: April 15, 2008, 15:13:24 PM »

Hi,
to avoid duplicated rows I modified the featured product module and added a few lines of code to create an array with the displayed SKUs and a check if a certain SKU was already added or not.

In practice add these lines at line 293 of mod_virtuemart_featureprodx.pxp:

   
Code:
// Let the show begin!
$i = 1; // Product counter
$sku_list = array();

while($db_browse->next_record() ){
$sku = $db_browse->f("product_sku");
if ( !$sku_list[$sku] && $i <= $max_items) {
$sku_list[$sku] = "Y";

// If it is child item get parent:
                                                               ....

Remeber to close the IF clause...



Bruno
Logged
oldsteel68
Jr. Member
**
Posts: 90


WWW
« Reply #556 on: April 16, 2008, 20:10:09 PM »

doesnt work for me
Logged

mod_virtuemart w/ Selectable Categories www.advantwebdesign.com
http://www.supremedefense.com
kairospoia
Newbie
*
Posts: 6


« Reply #557 on: April 24, 2008, 19:50:00 PM »

Hi Alejandro (and any other member who might have a solution)

Thanks creating this module. Very useful.

Unfortunately, I am currently experiencing two problems with it:

Problem #1: The images are showing up full size, instead of the thumbnails.

I read every single posts on this discussion topic and didn't find a solution to my problem. This problem is similar to what was already mentioned by some of the members of this discussion board (see posts from Just, Cajetan and Ddrinkal).

I followed the instructions you provided in your tutorial, step by step.

1. Here's my template code:
 <div style="width:150px;height:200px;text-align:center;">
<A title="{product_name}" href="{product_flypage}"> <img src="{product_thumb_image}" border="0" title="{product_name}" alt="{product_name}" /> </A /> <br />
{product_name}<br />
{product_author}

2. I made the fix you indicated in the Virtuemart file called show_image_in_imgtag.php

3. I also indicated 95 width and 95 large in the configuration settings for custom thumbnail size options.

This doesn't seem to work and the images on my Frontpage are showing up full size, instead of the thumbnails.

Note: The regular Featured Product module works fine as far as thumbnail sizes are concerned. This is only happening when I switched to the Extended module.

Problem #2: For some reasons, the call to get the author {product_author} is not working. Instead of getting the actually name of the author, I am getting the tag '{product_author}' itself. I've used this tag in other sections of Virtuemart and it worked fine. Is there a query file that I should update somewhere to make sure the Featured Product module works with this tag too?

Please let me know if you understand these problems. Hopefully you have an easy fix for them. Thanks for your time.

Best,
--kairos
« Last Edit: April 24, 2008, 19:59:24 PM by kairospoia » Logged
Rogerio1979
Newbie
*
Posts: 40


« Reply #558 on: April 28, 2008, 16:59:51 PM »

This mod works fine, BUT one small issue:

If I click the image the flypage opens but the module is gone...

In the Modules -> Site Modules I have selected "ALL" to show this module at all pages... Does anyone know how to solve this?
Logged
bulesz
Full Member
***
Posts: 186



« Reply #559 on: May 01, 2008, 04:47:47 AM »

Hello,

Would be a version for VM 1.1 ??

Other: the same product multiple item in the module: if you will have more items, the problem will be solved! Dont panic! Smiley
Logged
duongtien
Newbie
*
Posts: 9


« Reply #560 on: May 10, 2008, 11:55:09 AM »

Hi all, my level of English is not high.
I want to show mod feature products on HomePage ONLY? What can I do?? Please help me!
Logged
bulesz
Full Member
***
Posts: 186



« Reply #561 on: May 10, 2008, 15:07:43 PM »

what do you mean home page only? you can setup in the module manager which page should appear the module. the same way as the other joomla modules.

cheers,
bulesz
Logged
MikeUK
Global Moderator
Hero Member
*
Posts: 1246


WWW
« Reply #562 on: May 16, 2008, 11:50:37 AM »

Hi all, my level of English is not high.
I want to show mod feature products on HomePage ONLY? What can I do?? Please help me!

I would say this is a question for the Joomla forum. It would apply to all modules.
Logged

Get answers faster:

New site for Virtuemart themes + layouts
avra911
Newbie
*
Posts: 9


« Reply #563 on: July 07, 2008, 03:56:24 AM »

Hi Alejandro,
Thanks for this great mod. I have currently set it up to display discounted and popular products on my homepage and it works perfectly.
I am having one issue with  which i hope you can give me a little help. My products are mp3s and I would like to add the Mini-MP3-Player (mambot)  to the output. I have added the code in the modules php file which dynamically creates the correct Mambot string for the corresponding product. The problem however is that it seems mambots don't work in your module as the tags are not being replaced.
I have been experimenting with the following code in the module's php file to include mambots  but i cant seem to get it right:
Code:
global $_MAMBOTS;
$_MAMBOTS->loadBotGroup( 'content' );
$row = new stdClass();
$row->text = $html;
$params = new mosParameters('');
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true );
$html= $row->text;
Do you have any thoughts on how I could get mambots functioning properly in the module? I would really appreciate your input as i have spent quite some time trying to get this to work...
Thanks again for all your efforts!
All the best,
Jesse


Did you resolved the problem with mambots in this module?
first you need to know that the you was trying it only works for the custom modules (the ones you create with the button "new").
I used JosReplace mambot and it didn't worked. I did a copy of the mambot's source code in the extended module and changed the functions name to avoid duplicates and then i just called the function for the description.
i think this can be done for your plugin too.


Best regards,
Razvan
« Last Edit: July 08, 2008, 14:47:03 PM by avra911 » Logged
janaa1234
Newbie
*
Posts: 17


« Reply #564 on: August 01, 2008, 05:03:46 AM »

Problem: I have upgraded to the latest Virtuemart Version

After I did this I have some problems with the Featured Products Extended module...

When clicking the "add to cart" button (in the frontpage where the module is)I only get the message "choose size or length"

If I go into the virtuemart categories, then I can add to cart..

Any experts out there who know why this happens??

Best regards,
Jan
Logged
MikeUK
Global Moderator
Hero Member
*
Posts: 1246


WWW
« Reply #565 on: August 06, 2008, 11:17:50 AM »

I think there is no confirmation that this module works with VM 1.1.x. It is now a commericial module.
Logged

Get answers faster:

New site for Virtuemart themes + layouts
caseyd
Newbie
*
Posts: 42


« Reply #566 on: August 09, 2008, 11:28:48 AM »

If the 1.1 version is commercial now, where can I buy it at?
Logged
MikeUK
Global Moderator
Hero Member
*
Posts: 1246


WWW
« Reply #567 on: August 09, 2008, 14:42:14 PM »

see the first post
Logged

Get answers faster:

New site for Virtuemart themes + layouts
avra911
Newbie
*
Posts: 9


« Reply #568 on: August 12, 2008, 03:28:34 AM »

If the 1.1 version is commercial now, where can I buy it at?

there is a beta version available only after you subscribe.
<<You also now have access to the VM extended Featured Products Module for VM1.1 This is one of the most downloaded modules for VM1.0 - This will never be released and was only updated for our subscribers. The full VM SHOWCASE is under development and will replace any and all featured modules>>
not very professional, but if you don't have what to do with your money, you can try.

R
« Last Edit: August 12, 2008, 03:31:35 AM by avra911 » Logged
aravot
Peter
Quality&Testing Team
Hero Member
*
Posts: 2921


WWW
« Reply #569 on: August 12, 2008, 12:04:52 PM »

What do you mean, by not very professional? it the module not good?
Logged

Pages: 1 ... 36 37 [38] 39 40   Go Up
Print
Jump to: