Forums / All Other Contributions/Addons / Twitch Wholesale with Twitch Wholesale Attributes

Twitch Wholesale with Twitch Wholesale Attributes

Views: 27,872

Results 121 to 140 of 164
21 Oct 2015, 2:52 PM
#121
davidmay354 avatar

davidmay354

New Zenner

Join Date:
Aug 2010
Posts:
20
Plugin Contributions:
0

Twitch Wholesale with Twitch Wholesale Attributes

twitchtoo:

So product 1 has attribute a1 b2 c3 and you want to hide c3?

Yes it can be hidden.

Small scale - either you add one of the filters already in this thread with the addition of the attribute you want to hide

or

I would need to add a new code based on my other wholesale module - Twitch Wholesale | Retail Product Control Switch to apply to attributes.

That is exactly what I need it to do. For wholesale customers I need add "setup" charge attribute. Retail customer get this included in price.

21 Oct 2015, 5:38 PM
#122
davidmay354 avatar

davidmay354

New Zenner

Join Date:
Aug 2010
Posts:
20
Plugin Contributions:
0

Re: Twitch Wholesale with Twitch Wholesale Attributes

Can't find a filter to do exactly what I need to do. I would guess I would need to modify attribute.php

21 Oct 2015, 6:05 PM
#123
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

davidmay354:

Can't find a filter to do exactly what I need to do. I would guess I would need to modify attribute.php

Perhaps I'll need to code one for you, there will be a number of files changes to 'hide' the attributes.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

5 Nov 2015, 7:26 AM
#124
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: Twitch Wholesale with Twitch Wholesale Attributes

I just can not find the piece of code in the /includes/classes/shopping_cart.php that takes care of the discount / quantity
Someone can help me to found this piece of code and show it only to retail?

5 Nov 2015, 7:26 AM
#125
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

100asa:

I just can not find the piece of code in the /includes/classes/shopping_cart.php that takes care of the discount / quantity
Someone can help me to found this piece of code and show it only to retail?

Check your email mate.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

27 Sep 2016, 8:25 AM
#126
dachilla avatar

dachilla

New Zenner

Join Date:
Feb 2006
Posts:
66
Plugin Contributions:
1

Re: Twitch Wholesale with Twitch Wholesale Attributes

Sounds like a great module. Will it work with 1.5.5a`?

27 Sep 2016, 8:19 PM
#127
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

dachilla:

Sounds like a great module. Will it work with 1.5.5a`?

Yes, I've installed this on 1.55x and it works :) However it required quite a bit of time to find the correct code insertion points as some of the new files have been modified substantially.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

2 Jan 2017, 3:15 PM
#128
kernheimer avatar

kernheimer

Zen Follower

Join Date:
Jul 2009
Posts:
126
Plugin Contributions:
0

Re: Twitch Wholesale with Twitch Wholesale Attributes

i never felt so missrable in my life!
i dont know what to put and how to, in the sql update, who to write that in the sql files update.
i'm not much of a programmer, i feel lost
is it not possible to write exactly what you have to put in, in a file?

SQL Update - Add the base_cost field to the products table:
ALTER TABLE products ADD products_base_cost DECIMAL(15,2) NOT NULL DEFAULT '0.00';

what do i write? and is this the exact line i put there?
i really don't know.

3 Jan 2017, 2:18 AM
#129
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

kernheimer:

i never felt so missrable in my life!
i dont know what to put and how to, in the sql update, who to write that in the sql files update.
i'm not much of a programmer, i feel lost
is it not possible to write exactly what you have to put in, in a file?

SQL Update - Add the base_cost field to the products table:
ALTER TABLE products ADD products_base_cost DECIMAL(15,2) NOT NULL DEFAULT '0.00';

what do i write? and is this the exact line i put there?
i really don't know.

Check your inbox, I can help :)

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

22 Jun 2017, 3:07 PM
#130
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,449
Plugin Contributions:
3

Re: Twitch Wholesale with Twitch Wholesale Attributes

Hi Twitchtoo,

I believe I found an error on the shopping cart file. On your readme file around line 523 it says:

includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php
add line 58 (after TABLE_HEADING_PRICE)
<th scope="col" id="scUnitHeading"><?php echo TABLE_HEADING_LIST_PRICE; ?></th>

add line 109 - display the list_price value (after productsPriceEach)
<td class="cartUnitDisplay"><?php echo '$' . $product['productsListPrice']; ?></td>

For this to work for me, and show the accurate info on the shopping cart using ZC v1.5.5e I changed:

<td class="cartUnitDisplay">
	<?php echo '$' . $product['productsListPrice']; ?></td>

to:

<td class="cartUnitDisplay">
	<div class="shopping-cart-table__list-parameters unit-price">
	<?php echo '$' . $product['productsListPrice']; ?>
	</div></td>	

Question:
Is there a way to have a minimum order for wholesale?

IDEASLady
IDEAS Creative Studio

Your image... our business!

3 Nov 2017, 12:39 AM
#131
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

Twitch Wholesale + Attributes is currently being updated to work with 155e :)

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

5 Nov 2017, 1:32 AM
#132
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

twitchtoo:

Twitch Wholesale + Attributes is currently being updated to work with 155e :)

Twitch Wholesale version 17 for 1.55e is complete!

I'm assembling the module package now and will submit it by weeks end :)

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

14 Feb 2018, 6:59 AM
#133
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

ideasgirl:

Hi Twitchtoo,

I believe I found an error on the shopping cart file. On your readme file around line 523 it says:

For this to work for me, and show the accurate info on the shopping cart using ZC v1.5.5e I changed:

<td class="cartUnitDisplay"> <?php echo '$' . $product['productsListPrice']; ?></td> ``` > > to: > ```php <td class="cartUnitDisplay"> <div class="shopping-cart-table__list-parameters unit-price"> <?php echo '$' . $product['productsListPrice']; ?> </div></td> ``` > > Question: > Is there a way to have a minimum order for wholesale?

1 - This is not an error. You have simply created a CSS control container around the individual table cell which will 'integrate' the cell into the template you are using.

2 - Yes you could setup minimum orders for wholesale customers using a custom filter in the shopping cart. There are general filters in the Twitch group of modules posted on this forum you could use as a base or you're welcome to contact me directly to have one built :)

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

14 Feb 2018, 7:28 AM
#134
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

Update - The 1.55e version was scratched do to the release of Zen Cart 1.55f

I have just published the newest Twitch Wholesale + Attributes for 1.55f to the plugins ^ and as usual it will make its way to my site shortly :)

Feature Update - I've added the basic **Twitch Attribute Button

**This little button looks for attributes, displays the active attributes found icon on the product page (collect_info.php) and will link you directly to the associated product attribute in the attributes controller - one click wonder!

Note: If you want attribute images *displayed *below the new attribute button you will need to install TAP Thumb for 1.55f from my site or the plugins here

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

10 Oct 2018, 8:36 AM
#135
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

The original** Twitch Wholesale + Attributes for 155f **has been running bug free since its release in February of this year, so I've added more features to the upcoming release!

Currently working in Beta...

  • Twitch Wholesale/Retail Product Control Switch -> Product level Retail|Wholesale|BOTH switch is now a stock feature!

  • Wholesale Account Sign Up Request -> Customers can ask to become a wholesale partner on the login page - with notifications and tracking in admin.

  • Model -> Installed throughout the cart.

  • Base Cost -> Now ready to plug into Twitch Monthly Sales Reports, Twitch Profit Calculator and any other module you may need to use base product cost.

  • CORE Charges -> Complete front to back rebuild - live site with thumbnails -> admin notification and sales/profit reporting integration

If you have any feature requests be sure to ask in this thread or contact me directly!

Also...
All Twitch Modules for 1.55f currently work with each other, Zen Cart 1.55f and on SQL 5.6 and PHP 7.1.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

22 Oct 2018, 10:05 PM
#136
goshawk avatar

goshawk

Zen Follower

Join Date:
Aug 2006
Location:
Kihikihi, New Zealand
Posts:
220
Plugin Contributions:
2

Re: Twitch Wholesale with Twitch Wholesale Attributes

Hi,

How is the beta testing going? Any update on when we can expect your new version?

One suggestion:
Change wholesale pricing by attributes to separate attributes for both wholesale and retail.
Imagine you are selling motor oil, both retail and wholesale, in top-up bottles and 3l containers. You may want to offer your retail customer a choice of buying either one, so you'll need to create 2 attributes for one bottle each. I would think that a wholesale customer would not bother by buying 1 bottle at the time, so you may want to offer them a carton of 6 of each volume instead.

Look forward to your updated version.

Many thanks,

Goshawk

Time is but an illusion, there is only "now"!

23 Oct 2018, 4:59 AM
#137
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

Goshawk:

Hi,

How is the beta testing going? Any update on when we can expect your new version?

One suggestion:
Change wholesale pricing by attributes to separate attributes for both wholesale and retail.
Imagine you are selling motor oil, both retail and wholesale, in top-up bottles and 3l containers. You may want to offer your retail customer a choice of buying either one, so you'll need to create 2 attributes for one bottle each. I would think that a wholesale customer would not bother by buying 1 bottle at the time, so you may want to offer them a carton of 6 of each volume instead.

Look forward to your updated version.

Many thanks,

Goshawk
The beta is in pre-release queue and will be published to my site by weeks end :)

Your example is already possible with this module - You can make two products with separate retail/wholesale AND retail/wholesale attribute prices and offer them to retail/wholesale customers.

What's new is the ability to have a switch on*** each product*** that controls if it's Guest/Retail Only, Wholesale Only, or **BOTH.

**
**This means you can now have:
**Guest/Retail - Product
Guest/Retail - Product + Attributes (priced by product)
Guest/Retail - Product + Attributes (priced by attribute)

Wholesale - Product
Wholesale - Product + Attributes (priced by product)
Wholesale - Product + Attributes (priced by attribute)

**Guest/Retail/Wholesale - Product
Guest/Retail/Wholesale - Product + Attributes (priced by product)
Guest/Retail/Wholesale - Product + Attributes (priced by attribute)

**
Although you CAN use the existing Zen Cart product/attribute setup, I have an unreleased Twitch Box Quantity Buy which offers bulk purchasing of retail/wholesale products and attributes within the product matrix ^ that cleans up some of the admin and live site display conditions when offering 'cases' of products. Twitch Margin Calculator handles product pricing with a box/case pricing plugin to help you see the unit prices clearly against singles - in admin.

So you could buy a single item -** 1L bottle of motor oil, 12 x 1L case, 3L-5L single bottles, 3 x 3L-5L** box. Plus you can offer custom package sizes so a quantity 6 case of 1L motor oil will sell just like a **6 pack **of 3L motor oil.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

29 Oct 2018, 12:40 AM
#138
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

My apologies for the release delay, we've been busy... NEW category_product_listing.php and collect_info.php sporting attribute thumbnail images, wholesale and retail attribute prices on the product row/page and directly linked to edit instantly in the attributes controller:
Attachment 18086Attachment 18087

Twitch Fast Quantity Updates in action as well!

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

16 Nov 2018, 5:32 AM
#139
goshawk avatar

goshawk

Zen Follower

Join Date:
Aug 2006
Location:
Kihikihi, New Zealand
Posts:
220
Plugin Contributions:
2

Re: Twitch Wholesale with Twitch Wholesale Attributes

twitchtoo:

My apologies for the release delay, we've been busy... NEW category_product_listing.php and collect_info.php sporting attribute thumbnail images, wholesale and retail attribute prices on the product row/page and directly linked to edit instantly in the attributes controller:
Attachment 18086Attachment 18087
Twitch Fast Quantity Updates in action as well!

Hi Twitch,

I am currently installing a new cart. When do you think that the updated wholesale module will be available?

Thanks

Goshawk

Time is but an illusion, there is only "now"!

19 Nov 2018, 7:01 AM
#140
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Twitch Wholesale with Twitch Wholesale Attributes

Goshawk:

Hi Twitch,

I am currently installing a new cart. When do you think that the updated wholesale module will be available?

Thanks

Goshawk

Published tonight to my site and the forum :)

Live tested on 3 separate Zen Cart 1.55f sites using a variety of responsive templates, SQL and php versions.

If my work has helped you today in any way, show your appreciation with things like positive feedback or donations. Help me - help you in supporting this module!

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian