Author Topic: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.  (Read 218364 times)

flora01

  • Beginner
  • *
  • Posts: 23
    • Flora Organica
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #255 on: September 25, 2010, 15:49:44 pm »
Update:
when one clicks on "Add all items to the Cart "
and there's at least one item out of stock

(i mean when some products can not be added to cart),
it gives the following error:
Quote
Fatal error: Call to a member function _() on a non-object in [.........]/administrator/components/com_virtuemart/classes/ps_wishlist.php on line 1015

this line 1015 is around these lines:
Code: [Select]
if ($d['quantity'] > $product_in_stock)
{
$msg = $VM_LANG->_('PHPSHOP_CART_QUANTITY_EXCEEDED');
$vmLogger->tip( $msg );
$GLOBALS['page'] = 'shop.waiting_list';
return true;
}



I had it solved by replacing:
Code: [Select]
$msg = $VM_LANG->_('PHPSHOP_CART_QUANTITY_EXCEEDED');with this:
Code: [Select]
$msg = 'The selected quantity exceeds quantity available in stock.';(i copied it from /administrator/components/com_virtuemart/languages/common/english.php
line 53:
Code: [Select]
'PHPSHOP_CART_QUANTITY_EXCEEDED' => 'The selected quantity exceeds quantity available in stock.',
and that's really weird!  ???
i tracked VM_LANG, but it seems globally declared already in the function  addToCart( &$d ) (line 871) which is calling  function cart_add( &$d ) (line 988) and addItemToCart( &$d ) (line 925)

unless cart_add is called from somewhere else that I don't know  ???

Regards
Live Smart, Eat Smart,
Flora Organica http://www.flora-organica.com

the Joomla/Virtuemart links that made my day
"checkout redirects to index.php"? read this: http://forum.virtuemart.net/index.php?topic=34989.msg170542#msg170542

IntraX

  • Jr. Member
  • **
  • Posts: 87
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #256 on: September 26, 2010, 19:48:22 pm »
I am getting this error when adding the sql:


You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'quantity in a Wishlist.', 'none' ); INSERT INTO `jos_vm_function` ( `module' at line 4 SQL=INSERT INTO `jos_vm_function` ( `module_id`, `function_name`, `function_class`, `function_method`, `function_description`, `function_perms` ) VALUES ( 800, 'wishlistUpdateItem', 'ps_wishlist', 'updateItem', 'Updates an item' quantity in a Wishlist.', 'none' ); INSERT INTO `jos_vm_function` ( `module_id`, `function_name`, `function_class`, `function_method`, `function_description`, `function_perms` ) VALUES ( 800, 'wishlistDeleteItem', 'ps_wishlist', 'deleteItem', 'Deletes an item from a Wishlist.', 'none' ); INSERT INTO `jos_vm_function` ( `module_id`, `function_name`, `function_class`, `function_method`, `function_description`, `function_perms` ) VALUES ( 800, 'wishlistAddItemtocart', 'ps_wishlist', 'addItemToCart', 'Adds an item, from a wishlist, to the Cart.', 'none' ); INSERT INTO `jos_vm_function` ( `module_id`, `function_name`, `function_class`, `function_method`, `function_description`, `function_perms` ) VALUES ( 800, 'wishlistAddtocart', 'ps_wishlist', 'addToCart', 'Adds all items, from a wishlist, to the Cart.', 'none' ); INSERT INTO `jos_vm_function` ( `module_id`, `function_name`, `function_class`, `function_method`, `function_description`, `function_perms` ) VALUES ( 800, 'wishlistSaveCart', 'ps_wishlist', 'addCartToWishList', 'Adds all items, from the shopping cart, to a WishList.', 'none' );

Anyone a clue or solution for this? Using 1.5.20 with 1.1.5 on a brand new linux apache server.

Actually MySQL does not like this part:

INSERT INTO `jos_vm_function`
( `module_id`, `function_name`, `function_class`, `function_method`, `function_description`, `function_perms` )
VALUES
( 800, 'wishlistUpdateItem', 'ps_wishlist', 'updateItem', 'Updates an item\' quantity in a Wishlist.', 'none' );

mailon

  • Beginner
  • *
  • Posts: 31
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #257 on: October 02, 2010, 08:10:59 am »
hi
awesome hack! thanks
but why does it not return product details?
I only get the price correct but no thumb, product description, product name etc.
The price is fetched from table jos_vm_product_price white the details are fetched from jos_vm_product so my guess is there is something wrong with the get_product_info() function....

anyone else had this problem ?



[attachment cleanup by admin]

Forrest

  • Full Member
  • ***
  • Posts: 1972
  • Me and my baby
    • Web Developer
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #258 on: October 07, 2010, 04:42:34 am »
Hi everyone. Back from an extended break. Looks like a few updates are in order. Who still has issues to address currently? I'll take a few days to look through this all myself as well.

Roderick1

  • Jr. Member
  • **
  • Posts: 111
    • Top Motion
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #259 on: October 15, 2010, 10:18:53 am »
Dutch translation share version 1.9 / Tested on Joomla 1.5.21 and virtuemart 1.1.5

Download de zip install.zip http://forum.virtuemart.net/index.php?action=dlattach;topic=66530.0;attach=18120, al die bestanden zijn vertaald naar Nederlands.
Open het bestand: administrator/components/com_virtuemart/languages/common/dutch.php en voer onderstaande onderaan eraan toe. Succes! Nederlandse vragen zijn welkom. Draait met succes op www.kleinveeservice.nl

Code: [Select]
/* WISHLIST MOD */
'PHPSHOP_WISHLIST_MOD' => 'Wenslijst',
'PHPSHOP_WISHLIST_ADMIN' => 'Wenslijsten',
'PHPSHOP_WISHLIST_REPORTS' => 'Wenslijst Rapportages',
'PHPSHOP_WISHLIST_LIST' => 'Lijst Wenslijsten',
'PHPSHOP_WISHLIST_LIST_LBL' => 'Wenslijst Lijst',
'PHPSHOP_WISHLIST_REPORT_LBL' => 'Meest voorkomende items in Wenslijsten',
'PHPSHOP_WISHLIST_USER_LBL' => 'Gebruiker',
'PHPSHOP_WISHLIST_LIST_TITLE' => 'Wenslijst voor ',
'PHPSHOP_WISHLIST_TITLE' => 'Wenslijst',
'PHPSHOP_WISHLIST_SHOW' => 'Mijn Wenslijst',
'PHPSHOP_WISHLIST_FRIEND_SHOW' => 'Mijn Vriend\en Wenslijst\en',
'PHPSHOP_WISHLIST_CREATED_BY' => 'Gemaakt door',
'PHPSHOP_WISHLIST_CREATED_LBL' => 'Gemaakt',
'PHPSHOP_WISHLIST_MODIFIED_LBL' => 'Bewerkt',
'PHPSHOP_WISHLIST_PUBLIC_LBL' => 'Gedeeld',
'PHPSHOP_WISHLIST_ITEM_COUNT' => 'Aantal Items',
'PHPSHOP_WISHLIST_ERROR_NO_NAME' => 'Geef aub een naam op voor deze wenslijst.',
'PHPSHOP_WISHLIST_ERROR_DUPLICATE_NAME' => 'Sorry, er bestaat al een wenslijst met deze naam.',
'PHPSHOP_WISHLIST_ERROR_NO_COMMENT' => 'Geef aub een commentaar op bij deze wenslijst.',
'PHPSHOP_WISHLIST_ERROR_NO_WISHLIST' => 'Selecteer aub een wenslijst of geef een nieuwe wenslijst naam op.',
'PHPSHOP_WISHLIST_ERROR_NO_PERM' => 'Sorry, u heeft goed toestemming om deze actie uit te voeren.',
'PHPSHOP_WISHLIST_ERROR_NO_EMAIL' => 'Geef aub een geldig emailadres op.',
'PHPSHOP_WISHLIST_ERROR_EMAIL_1' => 'Het emailadres ',
'PHPSHOP_WISHLIST_ERROR_EMAIL_2' => ' is niet geldig.  Voer aub alleen geldige emailadressen in het formulier. Voorbeeld: \'naam@voorbeeld.com\'.',
'PHPSHOP_WISHLIST_ERROR_EMAIL_NO_FILE' => 'Er bestaat geen email template bestand!',
'PHPSHOP_WISHLIST_SUCCESS_EMAILED' => 'Uw email is met succes verzonden.',
'PHPSHOP_WISHLIST_SUCCESS_SAVED' => 'Wenslijst Succesvol Opgeslagen.',
'PHPSHOP_WISHLIST_SUCCESS_CART_SAVED' => 'Uw Winkelwagen Is Opgeslagen.',
'PHPSHOP_WISHLIST_REMOVE_SUCCESS' => 'De Wenslijst is verwijderd.',
'PHPSHOP_WISHLIST_ADD_NEW' => 'Nieuwe Wenslijst Toevoegen',
'PHPSHOP_WISHLIST_ADD' => 'Voeg Wenslijst Toe',
'PHPSHOP_WISHLIST_ADD_TO' => 'Aan Wenslijst Toevoegen',
'PHPSHOP_WISHLIST_REMOVE' => 'Verwijder Wenslijst',
'PHPSHOP_WISHLIST_REMOVE_FROM' => 'Verwijder',
'PHPSHOP_WISHLIST_REMOVE_CONFIRM' => 'Bent u er zeker van dat u deze wenslijst wilt verwijderen met alle items erin?',
'PHPSHOP_WISHLIST_SHARE' => 'Deel deze Wenslijst',
'PHPSHOP_WISHLIST_STOP_SHARE' => 'Stop het delen van deze Wenslijst',
'PHPSHOP_WISHLIST_STOP_SHARE_CONFIRM' => 'Dit zal voorkomen dat anderen uw wenslijst kunnen inzien, inclusief de mensen welke u gemaild heeft. Bent u er zeker van?',
'PHPSHOP_WISHLIST_SAVE_CART' => 'Deze winkelwagen als Wenslijst opslaan',
'PHPSHOP_WISHLIST_CART_ADD_TO' => 'Voeg alle items toe aan mijn winkelwagen',
'PHPSHOP_WISHLIST_SAVE' => 'Opslaan',
'PHPSHOP_WISHLIST_NO_WISHLISTS' => 'U heeft geen Wenslijsten.',
'PHPSHOP_WISHLIST_NO_WISHLISTS_ITEMS' => 'Er bevinden zich geen items in deze wenslijst.',
'PHPSHOP_WISHLIST_NAME_SELECT' => 'Selecteer aub een wenslijst:',
'PHPSHOP_WISHLIST_OR' => 'OF',
'PHPSHOP_WISHLIST_NAME_NEW' => 'Geef aub een naam op voor een nieuwe wenslijst:',
'PHPSHOP_WISHLIST_CODE_LABEL' => 'Wenslijst Code:',
'PHPSHOP_WISHLIST_LINK_LABEL' => 'Link:',
'PHPSHOP_WISHLIST_EMAIL_HEADER' => 'Deel deze Wenslijst',
'PHPSHOP_WISHLIST_EMAIL_DESCRIPTION' => 'Deze Wenslijst is nu publiek gemaakt. Wilt u deze graag doormailen?  De ontvangers krijgen een link naar uw wenslijst plus het eventuele commentaar dat u hieronder invult.',
'PHPSHOP_WISHLIST_EMAIL_TRY_LINK' => 'Probeer het',
'PHPSHOP_WISHLIST_EMAIL_ADDRESSES_LABEL' => 'Email adres(sen) (gescheiden door commas):',
'PHPSHOP_WISHLIST_EMAIL_COMMENTS_LABEL' => 'Bericht om te versturen (optioneel):',
'PHPSHOP_WISHLIST_EMAIL_SEND' => 'Verstuur deze Wenslijst',
'PHPSHOP_WISHLIST_EMAIL_SUBJECT' => 'wilt graag dat u naar zijn/haar wenslijst gaat kijken.',
'PHPSHOP_WISHLIST_LOGIN' => 'AUB Inloggen.',
'PHPSHOP_WISHLIST_CONTINUE' => '<- Ga door met winkelen'
/* END WISHLIST MOD */


[attachment cleanup by admin]

Wes

  • Beginner
  • *
  • Posts: 3
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #260 on: October 19, 2010, 20:05:35 pm »
Hi Forrest,

I am revisiting the need to turn my Virtuemart into a Quote only system.  Allow visitor - without signing in - to add catalog products to cart (using cookies to remember product from last visit).  Then a SEND for quote button, that will send a listing of all the items to site admin(or other E-mail address) and also store in database (without a user association via log in, required).

I appreciate your time on this and when I tried to download your existing file (above), they have error 404.

Thank you again,

Wes

Forrest

  • Full Member
  • ***
  • Posts: 1972
  • Me and my baby
    • Web Developer
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #261 on: October 19, 2010, 20:13:57 pm »
What file "above" Wes? My files are on the first page of this thread.

sdv18sdv

  • Beginner
  • *
  • Posts: 3
Italian Translation
« Reply #262 on: October 22, 2010, 12:08:52 pm »
Di seguito la traduzione italiana (Italian Translation)
Ho tradotto con "lista dei desideri" il termine wishlist, anche se è un po' bruttino.

ITALIAN TRANSLATION
Code: [Select]
/* WISHLIST MOD */
'PHPSHOP_WISHLIST_MOD' => 'Lista dei desideri',
'PHPSHOP_WISHLIST_ADMIN' => 'Liste dei desideri',
'PHPSHOP_WISHLIST_REPORTS' => 'Reports Lista dei desideri',
'PHPSHOP_WISHLIST_LIST' => 'Lista Liste dei desideri',
'PHPSHOP_WISHLIST_LIST_LBL' => 'Lista Liste dei desideri',
'PHPSHOP_WISHLIST_REPORT_LBL' => 'Elemento pi&ugrave; comune',
'PHPSHOP_WISHLIST_USER_LBL' => 'Utente',
'PHPSHOP_WISHLIST_LIST_TITLE' => 'Lista dei desideri per ',
'PHPSHOP_WISHLIST_TITLE' => 'Lista dei desideri',
'PHPSHOP_WISHLIST_SHOW' => 'Mia Lista dei desideri',
'PHPSHOP_WISHLIST_FRIEND_SHOW' => 'Lista dei desideri',
'PHPSHOP_WISHLIST_CREATED_BY' => 'Creata da',
'PHPSHOP_WISHLIST_CREATED_LBL' => 'Creata',
'PHPSHOP_WISHLIST_MODIFIED_LBL' => 'Modificata',
'PHPSHOP_WISHLIST_PUBLIC_LBL' => 'Condivisa',
'PHPSHOP_WISHLIST_ITEM_COUNT' => 'Oggetti #',
'PHPSHOP_WISHLIST_ERROR_NO_NAME' => 'Inserisci un nome per questa lista dei desideri.',
'PHPSHOP_WISHLIST_ERROR_DUPLICATE_NAME' => 'Una Lista dei desideri esiste già con questo nome.',
'PHPSHOP_WISHLIST_ERROR_NO_COMMENT' => 'Commenta questa Lista dei desideri.',
'PHPSHOP_WISHLIST_ERROR_NO_WISHLIST' => 'Seleziona una Lista dei desideri o inserisci il nome di una nuova lista dei desideri.',
'PHPSHOP_WISHLIST_ERROR_NO_PERM' => 'Non hai i permessi per effettuare questa operazione.',
'PHPSHOP_WISHLIST_ERROR_NO_EMAIL' => 'Inserisci una email valida.',
'PHPSHOP_WISHLIST_ERROR_EMAIL_1' => 'L\'indirizzo email ',
'PHPSHOP_WISHLIST_ERROR_EMAIL_2' => ' non è valido. Inserisci solo email valide, es. \'name@example.com\'.',
'PHPSHOP_WISHLIST_ERROR_EMAIL_NO_FILE' => 'Non esiste un template email valido!',
'PHPSHOP_WISHLIST_SUCCESS_EMAILED' => 'Email inviata con successo.',
'PHPSHOP_WISHLIST_SUCCESS_SAVED' => 'Lista dei desideri salvata con successo.',
'PHPSHOP_WISHLIST_SUCCESS_CART_SAVED' => 'Il tuo carrello è stato salvato con successo.',
'PHPSHOP_WISHLIST_REMOVE_SUCCESS' => 'La lista dei desideri è stata eliminata con successo.',
'PHPSHOP_WISHLIST_ADD_NEW' => 'Aggiungi una nuova lista dei desideri',
'PHPSHOP_WISHLIST_ADD' => 'Aggiungi Lista dei desideri',
'PHPSHOP_WISHLIST_ADD_TO' => 'Aggiungi alla Lista dei desideri',
'PHPSHOP_WISHLIST_REMOVE' => 'Elimina Lista dei desideri',
'PHPSHOP_WISHLIST_REMOVE_FROM' => 'Elimina',
'PHPSHOP_WISHLIST_REMOVE_CONFIRM' => 'Vuoi davvero rimuovere la Lista dei desideri e tutti gli articoli associati?',
'PHPSHOP_WISHLIST_SHARE' => 'Condividi questa Lista dei desideri',
'PHPSHOP_WISHLIST_STOP_SHARE' => 'Rimuovi condivisione Lista dei desideri',
'PHPSHOP_WISHLIST_STOP_SHARE_CONFIRM' => 'Questo bloccher&agrave; la condivisione della lista dei desideri, anche se ha ricevuto l\'email di condivisione. Sei sicuro?',
'PHPSHOP_WISHLIST_SAVE_CART' => 'Salva il carrello come Lista dei desideri',
'PHPSHOP_WISHLIST_CART_ADD_TO' => 'Aggiungi tutti gli articoli al carrello',
'PHPSHOP_WISHLIST_SAVE' => 'Salva',
'PHPSHOP_WISHLIST_NO_WISHLISTS' => 'Non hai creato nessuna lista dei desideri',
'PHPSHOP_WISHLIST_NO_WISHLISTS_ITEMS' => 'Non ci sono articoli in questa lista dei desideri.',
'PHPSHOP_WISHLIST_NAME_SELECT' => 'Seleziona una lista dei desideri',
'PHPSHOP_WISHLIST_OR' => 'o',
'PHPSHOP_WISHLIST_NAME_NEW' => 'Inserisci un nome per la nuova Lista dei desideri:',
'PHPSHOP_WISHLIST_CODE_LABEL' => 'Codice Lista dei desideri:',
'PHPSHOP_WISHLIST_LINK_LABEL' => 'Link:',
'PHPSHOP_WISHLIST_EMAIL_HEADER' => 'Condividi questa lista dei desideri',
'PHPSHOP_WISHLIST_EMAIL_DESCRIPTION' => 'Questa lista dei desideri è stata resa pubblica.  Vuoi inviare tramite email questa Lista dei desideri?  I destinatari riceveranno un link alla tua Lista dei desideri con il testo inserito di seguito.',
'PHPSHOP_WISHLIST_EMAIL_TRY_LINK' => 'Provalo',
'PHPSHOP_WISHLIST_EMAIL_ADDRESSES_LABEL' => 'Indirizzi Email (separati dalla virgola):',
'PHPSHOP_WISHLIST_EMAIL_COMMENTS_LABEL' => 'Messaggio da inviare (opzionale):',
'PHPSHOP_WISHLIST_EMAIL_SEND' => 'Invia la lista dei desideri',
'PHPSHOP_WISHLIST_EMAIL_SUBJECT' => 'ti hanno inviato la lista dei desideri.',
'PHPSHOP_WISHLIST_LOGIN' => 'Effettua il login.',
'PHPSHOP_WISHLIST_CONTINUE' => '<- Continua lo shopping'
/* END WISHLIST MOD */

sdv18sdv

  • Beginner
  • *
  • Posts: 3
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #263 on: October 22, 2010, 12:14:36 pm »
ok, after the italian translation, I absolutely need a feature:

after I shared a wishlist, if a user buy some items from the wishlist, them will not be subtracted from the wishlist.

I was sure it was a feature already existing, but it's not.  ???

Is there a way to implement it?

thanks

illPhever

  • Beginner
  • *
  • Posts: 15
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #264 on: October 26, 2010, 02:38:13 am »
Hello All,

Forrest, thanks for this Wishlist hack! I've been testing it out on Joomla 1.5.20 with VM 1.1.5 and need some assistance with a message I'm getting.

When I click "Add to Wishlist!" from the product details page, I get the message "Info: To add this product into your cart you have to select a product variant on the details page."  This only happens for products with custom attributes (ie: Color: Red, Blue, Yellow / Size: 0,2,4,6,8,etc...). If I delete the attributes, I don't get the message.

I've read over other posts in the forum about that message, but what I don't understand in this case is that I am not even adding a product to the cart, so why would I get this message?  It only appears when clicking Add to Wishlist. Never when I actual click Add to Cart. I don't have any child products and product variants are selected.  Has anyone run across this situation or have any suggestions?

Thanks

flora01

  • Beginner
  • *
  • Posts: 23
    • Flora Organica
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #265 on: October 26, 2010, 08:06:14 am »
When I click "Add to Wishlist!" from the product details page, I get the message "Info: To add this product into your cart you have to select a product variant on the details page."  This only happens for products with custom attributes (ie: Color: Red, Blue, Yellow / Size: 0,2,4,6,8,etc...). If I delete the attributes, I don't get the message.

I've read over other posts in the forum about that message, but what I don't understand in this case is that I am not even adding a product to the cart, so why would I get this message?  It only appears when clicking Add to Wishlist. Never when I actual click Add to Cart. I don't have any child products and product variants are selected.  Has anyone run across this situation or have any suggestions?

Thanks
Hi,
yap, it happens when a product has an attribute list with properties.
Now, it sort of makes sense, because, if it's meant to be a gift registry, then the one who's actually buying should not be left to guess which variant he should buy.
But on the other hand, if it's just being used as a wishlist, then the user HAS to pick a variant when he might still be undecided about it.
I don't have this problem, since I use child products instead of attributes, so each child has its own add to cart and wishlist
and i'm not making it possible for them to add the parent as a wishlist.
so now, it depends on what YOU really want

PS: if it's the message that's really bothering you,
then change the according line in the language file from "into your cart" to "into your cart or wishlist"
though it doesn't always make sense. for a wishlist is a wishlist...

Regards
Live Smart, Eat Smart,
Flora Organica http://www.flora-organica.com

the Joomla/Virtuemart links that made my day
"checkout redirects to index.php"? read this: http://forum.virtuemart.net/index.php?topic=34989.msg170542#msg170542

flora01

  • Beginner
  • *
  • Posts: 23
    • Flora Organica
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #266 on: October 26, 2010, 08:19:57 am »
but now, i have a suggestion,
since it seems to occur a lot.

A wishlist is there to stand half-way between adding to cart, and not adding to cart.
it's an option to be taken when you're not able to add to cart, but still want to bookmark the product.
Now the feature "add all items to cart" is great,
but when the next screen comes to announce "you can't add that product to cart",
without knowing which or what link to follow...
hmmmm
i say you will lose your impatient customer due to this behavior,
so here's my suggestion:
output a table on the next screen showing the wishlist items in the first column with the links to the product details page for sure,
and in the second column, it shows the "status"
it should be either:
- successfully added
- Not added (product out of stock)
- Not added (quantity exceeds quantity in stock)
- Not added (needing product variant)
- [...]

(feel free to add the many "walls" against "adding a product to cart" here)
this step is essential for all products (successful/not successful), since the products that are successfully added are not automatically removed from the wishlist
and there should be a flag to know that they're added.

Plus, this result page, if exported (printed...), would tell us what's effectively left of the "wish" list
what is really still is a "wish", and which is accomplished :)

Thanks for reading
Kind Regards
Live Smart, Eat Smart,
Flora Organica http://www.flora-organica.com

the Joomla/Virtuemart links that made my day
"checkout redirects to index.php"? read this: http://forum.virtuemart.net/index.php?topic=34989.msg170542#msg170542

illPhever

  • Beginner
  • *
  • Posts: 15
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #267 on: October 26, 2010, 13:41:36 pm »
Thanks for the responses Flora. I think I see what's going on now. What happens is if I select the variants on the product details page and then click Add to Wishlist, it doesn't carry over my selections. So when the Add to Wishlist page is displayed I get that message about product variants and I must RE-SELECT my variants again before submitting my Wishlist.

So I guess what I would expect it to do is remember the product variants I select on the product details page (in my case Color, Size, Quantity). For example, my default Size is always 0 and Quantity 1. If I change a product to Size 10, Quantity 10 and click Add to Wishlist, it still defaults back to Size 0, Quantity 1 and I get that product variant message. I have to then select Size 10 and Quantity 10 AGAIN, select a Wishlist and submit it. I might just change the language file as you suggested if there is no other way to address this.

Regards

sdv18sdv

  • Beginner
  • *
  • Posts: 3
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #268 on: October 26, 2010, 15:54:29 pm »
Hi folks!
thanks to all for this interesting hack!

I manage a site with very long wedding lists and it would be very important subtract buyed items, as many different buyers make purchases from the same wedding lists (wedding lists are precisely made to avoid duplications).

Is there a way to implement this feature?

thanks

flora01

  • Beginner
  • *
  • Posts: 23
    • Flora Organica
Re: HACK: Wishlist + Mod. Multiple wishlists per user. Share with non-users.
« Reply #269 on: October 26, 2010, 17:23:43 pm »
illPhever,
you're welcome, but i'm afraid i can't reconstruct your case, so i can't help you much, though

sdv18sdv,
concerning wedding lists,
1) not every person who adds an item to the cart is going to 100% buy it (good will is always good, but what if something happened along the way)
to me, it would be unfair for the list owner.

2) in SOME cases, a quantity more than the desired quantity is always welcome,
especially with Decoration items

I think the feature of removing an item from a wishlist automatically should be done from within the owner's account alone,
In my mind, an ideal solution for you would be:
to add 2 extra fields near each item
one would tell "quantity added to cart" (i.e. reserved by someone on the way to buy it), or "Locked item"
one would tell "quantity purchased", or "Closed Item"

I don't think it would be implemented for free, though :P
But I'm just dropping my 2-cent for you :)

Regards
Live Smart, Eat Smart,
Flora Organica http://www.flora-organica.com

the Joomla/Virtuemart links that made my day
"checkout redirects to index.php"? read this: http://forum.virtuemart.net/index.php?topic=34989.msg170542#msg170542