News:

Support the VirtueMart project and become a member

Main Menu

Price per Shoppers Groups

Started by hugopt, December 12, 2011, 16:09:18 PM

Previous topic - Next topic

teamscomed

Hi Metapps, I'm struggling with this feature too. I am looking forward to try your plugin if you're willing to upload it. Thanks!

SoftDux

Can any of the VirtuaMart developers please comment on this missing feature? By the looks of it, VM 2.0.8e should be able to handle different pricing for different groups, yet there's no place to enter the different prices. When will this be fixed?

metapps

#47
Guys attached is a plugin to enable per shopper group prices to show

Test it and let me know

Also attached is a file a core file which needs to be replaced

If you use the stockist plugin please let me know as this needs an update also

Path for product file is

/administrator/components/com_virtuemart/models/product.php

[attachment cleanup by admin]
Web Developer available for hire PM me!
www.metapps.co.uk

danielmoh

#48
metapps,

I installed your zip and replaced the php. But, where i edit the prices ? I dont find anywhere... i saw your JPG but dont show that box for me
Im using: V 2.0.8e ; J 2.5.6

metapps

Web Developer available for hire PM me!
www.metapps.co.uk


metapps

Try the update attached

[attachment cleanup by admin]
Web Developer available for hire PM me!
www.metapps.co.uk

danielmoh

#52
Now its "ok". At the top of my edit product page is:

Warning: Invalid argument supplied for foreach() in XXXXXXXX/plugins/system/vmshopperprices/vmshopperprices.php on line 49

and the font body page is bigger!

i can see the box Shopper Group prices, but dont list my groups to change the prices

Do you wanna make more test in skype? Tnks!

danielmoh

This file zip attached is the last version. This fixed the problem at line 49.

Next step.. update the checkout page with the new group price.

thanks myapps

[attachment cleanup by admin]

amymattian

Quote from: DG on May 22, 2012, 19:54:15 PM
I was informed recently that perhaps trying the 2.0.7c version of VM (in beta) might solve this problem. 
I haven't been able to get it to work, myself. 
J 2.5.4/ VM 2.0.7c (doesn't work in 2.0.6)


I was informed recently that perhaps trying the 2.0.7c version of VM (in beta) might solve this problem. 
It works! 
J 2.5.4/ VM 2.0.7c


I'm working with "%" discount, so this is how it worked for me.

Create shopper group:
Add your shopper group name and description (don't forget to publish)
In Show Following prices, I have ticked
- Enable shoppergroup specific price display & Show Prices
and the following Show Price & Show Label boxes:
- Baseprice with Tax, but without discounts, Discounted Price without tax, Final salesprice, Tax amount
(Your choices may be different)
SAVE


Create shopper group calculations:
Go to Products > Tax & Calculation Rule Details
Add Name/ Rule - and select 'Price modifier before tax' as the Type of Arithmetic Operation
Math Operation: -%
Value: 50.0000 (eg.)
Currency: Select you own
Product Category:  We selected all.
Shopper Group: Your selection from the Shopper Group you already created ( )
Country: Obvious
State/Region: Obvious
Visible for Shopper: yes
Visible for Vendor: yes
Start date: yesterday
End date: never
Vendor: Yours
Publish and Save.

Go to your Products and edit each product.
In Product Information, look for 'Pricing rules overrides' and click inside the 'Discount Type' input box to select your Shopper Group which should be visible if you've created it and published it.
Check the front end as a general registered user, as well as a 'shopper group' user to see the results.
You can take it from there.  ;D

I hope this helps someone else.
Cheers... off to update some products ;)


EDIT: Back again. Nearly...  Not quite. 
After logging in as a registered user in the default group, the discount allocated for the other shopper group is given at 'add to cart'.
The 'discount type' on the product works across the board - you're not able to differentiate between the shopper groups. 
A couple of additional options required here unless someone can explain it.
If you work this one out, or have an answer... can you get back to me?

:) Thanks
Quote from: bizblog on March 21, 2012, 10:16:59 AM
Good day
Joomla 1.7.4
VM 2.0.0
Very interesting topic - Can I ask jenkinhill to please assist with this one..and please give as more details on this or point us to an tutorial for VM 2 on this subject?
I have the same issue
I have 3 shopper groups?
I want to add prices for a product to each different group?
How would I do this in VM 2.0.0
Please correct me if I am wrong but it does not seem like VM 2.0.0 supports this?

Thank you



I am trying to get the shoppergroup prices to work on frontend, but even after doing all this I get the same price on frontend for all. Also in the backend after choosing the shopper-group-specific price-override-rule then the price-field changes for the product-price. It should not change for the product price since the price-over-rule is only for shoppergroup wholesale. I don't understand what I am doing wrong!

Did you add the "Enable shoppergroup specific price display" to all shoppergroups? I tried all and wholesale but no difference.

Here is my test-product:
http://test7.rs1.internet-content.net/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=1551

I made 10% discount for only shoppergroup Wholesale and added it to the product. But the discount is showing to all (default/anonomus groups).
In the backend is should show price 11,30 but shows final price 10,17. Also the product has 13% tax added.

What am I doing wrong?

Amy

amymattian

I decided to go with the shoppergroupprice-plugin that is provided by Metapps!

I got it working on a test-site but having problems with it on a site under construction that has been migrated from VM1 to VM2. There I cannot get this plugin working even after doing all the same way as in the other test-site.

I have installed and enabled shoppergroupprice-plugin.
I have installed the product.php file as instructed.
I have made a new shoppergroup "Wholesale" group
I have added 13% VAT tax to the product.
I tried saving a new shoppergroup-price for product shoppergroup Wholesale price-field. When clicking save the price added does not get saved, but the default-price from cost-price-field shows in the Wholesale-shoppergroup-price-field.

Here you see an image of what I mean:


Mettaps, what am I doing wrong? Is is possible the migration process of shoppergroups is messing up the possibility to use the plugin? I did create a new shoppergroup also (ID 15).
Could you have a look and let me know what is wrong?

Thanks!

Anne

metapps

I have made an update which will hopefully fix your problem,

[attachment cleanup by admin]
Web Developer available for hire PM me!
www.metapps.co.uk

amymattian

Hi Metapps,

vau, you are fast! Thanks!

I can save the shoppergroup price in the backend now, when I also add default-shoppergroup price field in your shoppergroup-price-plugin fields. So that is good now! Problem is when I sign in as a wholesale-shopper I cannot see any prices.
Have a look:
http://uusimoymore.shop1.internet-content.net/testi

(Sign in from:
http://uusimoymore.shop1.internet-content.net/tietosi

user: test
pass: test

then you are a wholesale shopper.

If you sign is with test2 and test2 then you are default shopper and can see all the prices for default shopper.

Greetings,
Anne

metapps

Make sure wholesale group is set up to see prices
Web Developer available for hire PM me!
www.metapps.co.uk

amymattian

Hi Metapps,

yes wholesale group is set up to see prices.

I don't have these problems on the testsite here:
http://test17.rs1.internet-content.net/test

I have compared the settings many times and don't see any difference.

Anne