Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Lance Truman
@l_trumo_twitter
(this is on the latest release btw)
Lance Truman
@l_trumo_twitter
Got it working - I had set up the logs incorrectly in the yml file
but now that it is trying to send out emails I have a new error. When sending out the original email after an order is made I am getting "Call to a member function send() on null" on the swiftmailer as if the mailer doesnt exist. This doesnt happen anywhere else, if i change the status from the admin area then the emails are sent out fine. But i get this if I have a log set to send out on "Paid" status right when an order is created.
Lance Truman
@l_trumo_twitter
Also I am finding that even though I have set for the admin to be sent an email and bcc'd in to all the emails that get sent to the customer they are receiving nothing even if the customer gets something
Antony Thorpe
@AntonyThorpe
Hi, is there a demo module for SilverShop 3/SS4 that I could look at please? Have upgraded an existing site and am missing InternalItemID, pricing, etc. Can see the Product in the database but SilverShop_Product is empty. Might be a config issue I am thinking.
Sander Hagenaars
@sanderha
Did you upgrade form shop 3 to 4? Might not be the smoothest upgrade with namespaces and everything
Antony Thorpe
@AntonyThorpe
Hi yes SS4 with SilverShop dev-master. Maybe I need to data migrate? The SS upgrader tool is handy Thanks Cheers Antony
Lance Truman
@l_trumo_twitter
no answer for the email question? Still stuck on it.
Sander Hagenaars
@sanderha
Not sure about the email thing.. Have you tried setting up SMTP?
I havent experienced any email issues with silvershop
(only tried the ss3 version though=
Mohammadreza
@MohammaddReza
Hello, I'm from iran and i need to integrate the iranian payments system(I'll give the documents)
Is there anyone can help me?
Please tell me me about the wage
Hans Philip Eide
@hpeide
@l_trumo_twitter Hi. Don't know if this helps, but: I experienced that customer e-mail's where block by some providers because lack of encryption. Long story to short: I ended up to use Mailgun to handle e-mails using micschk/silverstripe-mailer-mailgun. Then I configured Mailgun to forward copies of the emails to my client address.
Vitaliy Tsymbalyuk
@webspilka
hi
after Installing silverstripe/installer (4.2.1)
I run
composer require silvershop/core ^3@dev
and get error [InvalidArgumentException]
Could not find package vendor at any version for your minimum-stability (dev). Check the package spelling or your minimum-stability
I try set
"minimum-stability": "alpha"
but it also did not work
Vitaliy Tsymbalyuk
@webspilka
Problem 1
- silverstripe/cms 3.1.0-beta1 requires silverstripe/framework 3.1.x-dev -> no matching package found.
cant instal on 4.2.1 ?
Roman Schmid
@bummzack
install dev-master for now
Vitaliy Tsymbalyuk
@webspilka
@bummzack Thanks!
Vitaliy Tsymbalyuk
@webspilka
In documentation (https://github.com/silvershop/silvershop-core/blob/master/docs/en/03_How_It_Works/Pricing.md) I see that product can show Discount. Where are the discounts implemented in the code? I do not see them in the admin.
Roman Schmid
@bummzack
There's a discounts-module for that: https://github.com/silvershop/silvershop-discounts
Vitaliy Tsymbalyuk
@webspilka
Do you have module for json api? Something like : http://site.com/api/v1/products
Roman Schmid
@bummzack
none that I'm aware of, sorry
Vitaliy Tsymbalyuk
@webspilka
please help
$products = Product::get(); // it’s object(SilverStripe\ORM\DataList)
how to convert it and product item variations to json ?
Antony Thorpe
@AntonyThorpe
@webspilka there is two modules here https://packagist.org/search/?q=silvershop
Vitaliy Tsymbalyuk
@webspilka
@AntonyThorpe thanks I search some like this. but I have problem with install
composer require toastnz/silvershop-api dev-master
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for toastnz/silvershop-api dev-master -> satisfiable by toastnz/silvershop-api[dev-master].
    - toastnz/silvershop-api dev-master requires silverstripe/recipe-cms ^1.0.3 -> satisfiable by silverstripe/recipe-cms[1.0.3, 1.0.4, 1.0.x-dev, 1.1.0, 1.1.0-rc1, 1.1.0-rc2, 1.1.1, 1.1.2, 1.1.x-dev, 1.x-dev, 1.2.x-dev] but these conflict with your requirements or minimum-stability.
Antony Thorpe
@AntonyThorpe
@webspilka which SilverShop version are you using? Check the modules ‘composer.json’ for compatibility
Hans Philip Eide
@hpeide
Hi folks! How do I map old Silvershop db tables to the new prefixed?
Hans Philip Eide
@hpeide
I guess some mysql handwork will do for now. Created a gist here: https://gist.github.com/hpeide/9b7199f79b194f794fc4d72cf34b35c1
Sander Hagenaars
@sanderha
Nice one :)
Roman Schmid
@bummzack
Interesting… don't you also have to replace the ClassName fields accordingly? Or will the updater take care of that? I haven't updated a shop from ss3 to 4, so I don't know
Hans Philip Eide
@hpeide
@bummzack You mean project models? Yeah I just prefixed them the same way. So far it looks quit ok. Haven't tested things in detail yet, but images, orders, products, variations and such has overlived the migration..
Roman Schmid
@bummzack
Ok, good to know
Hans Philip Eide
@hpeide
Would have been nice in the legacy.yml file to re-map db tables somehow, but guess that is something Silverstripe framework has to take care of.
Roman Schmid
@bummzack
yeah… I'm not really sure what the updater tool can do… I haven't used it so far
Hans Philip Eide
@hpeide
I've been using it for two project now, and I ended up doing most of the things manual both times. You can re-map models in the legacy file, but you have to keep the same db table names.
As far as I know .-)
Blair Davidson
@Snowboarder540

Hey Guys,

Wondering about the best way to integrate a Quantity Discount. IE - a $ or % discount could be applied if a certain quantity of a product is ordered... thoughts?
Note: I use the discounts module but can't see an option for achieving this as yet.

Karan Khanna
@abstractk
Hey! Thanks for the great module. Wondering if this is still in development or dormant?
Adrian
@adrian-stein
hey there. I added an issue to discounts module. Dont suppose anyone has looked at it or has a fix?? silvershop/silvershop-discounts#93
Blair Davidson
@Snowboarder540

Hey All,

Not sure if this is still the best place to get advice on the Silvershop module or not...? If not, can someone please point me in the right direction.

Question: Is it possible to set the payment gateway(s) available, depending on the Group of the logged in User.
For example, I have 2 payment gateway options - paypal express and a manual option. For normal users both gateways would be available. But for anyone logged in as a Wholesale user, they would be limited to the manual payment gateway option only (ie - if wholesale user, paypal express gateway is removed). As always, thank you for any advice!

Blair Davidson
@Snowboarder540

Hey Guys,

Just in case anyone is monitoring this thread and is still able / willing to help out. I'm currently experiencing the following issue:

I had recently upgraded a site and have come across a strange error / issue, having now narrowed it down to what I believe is the silvershop discounts module.

Previously using Silverstipe 3.6.3, Silvershop 2.3.1, silvershop-discounts 1.2.0 - no discount issue.
Currently using Silverstipe 3.7.3, Silvershop 2.4.2, silvershop-discounts 1.3.1

The issue occurs if a logged in member (not admin), that has a group discount applied is in the checkout process (note: I am using a stepped checkout). For some reason the checkout form action acquires a ?stage=Stage suffix.

Because these members are not admin the form submission redirects the user to an admin login page / prevents the user from continuuing the checkout process.

If the discount is removed for that member group then the suffix is not applied and the user is able to checkout as normal.

Any clues / fixes?

thalesgaldino
@thalesgaldino
Hello guys! Has anyone come across to customise the templates, copying the files to SilverShop\Page\ folder and modify it, but then, it loses the ability to be wrapped by the Page.ss which contains all the CSS desired? Is that a namespace problem?
Bram de Leeuw
@TheBnl
Hi @thalesgaldino you'll probably will have to correct the path to the template.
I'm mirroring the same paths used in the module without any problems, e.g
templates/SilverShop/Page/Layout/CartPage.ss
Maybe you we're missing the "Layout" folder ?
Bram de Leeuw
@TheBnl

I'm trying to get the stepped checkout to work, but the step extensions are not "sticking". Not sure if i need to set extra configs in the SS4 version of SilverShop.

Output from printing the extensions on the CheckoutPageController in different stages.:

==== start SteppedCheckoutExtension::setupSteps() === 
Array
(
    [0] => SilverStripe\RedirectedURLs\Extension\RedirectedURLHandler
    [1] => SilverStripe\Versioned\VersionedStateExtension
    [2] => LeKoala\DebugBar\Extension\ControllerExtension
    [3] => XD\Basic\Extensions\MobileDetectExtension
    [4] => SilverStripe\ErrorPage\ErrorPageControllerExtension
    [5] => SilverStripe\CMS\Controllers\OldPageRedirector
    [6] => Broarm\CookieConsent\ContentControllerExtension
    [7] => DNADesign\Elemental\Extensions\ElementalContentControllerExtension
    [8] => JonoM\BetterNavigator\Extension\BetterNavigatorExtension
    [9] => SilverStripe\RedirectedURLs\Extension\RedirectedURLHandler
    [10] => SilverShop\Extension\ViewableCartExtension
    [11] => SilverShop\Extension\OrderManipulationExtension
    [12] => SilverShop\Extension\SteppedCheckoutExtension
    [13] => SilverShop\Checkout\Step\Membership
    [14] => SilverShop\Checkout\Step\Address
    [15] => SilverShop\Shipping\Checkout\Step\CheckoutStepShippingMethod
    [16] => SilverShop\Checkout\Step\Summary
)
==== end SteppedCheckoutExtension::setupSteps() === 
==== start CheckoutPageController::getViewer() === 
Array
(
    [0] => SilverStripe\RedirectedURLs\Extension\RedirectedURLHandler
    [1] => SilverStripe\Versioned\VersionedStateExtension
    [2] => LeKoala\DebugBar\Extension\ControllerExtension
    [3] => XD\Basic\Extensions\MobileDetectExtension
    [4] => SilverStripe\ErrorPage\ErrorPageControllerExtension
    [5] => SilverStripe\CMS\Controllers\OldPageRedirector
    [6] => Broarm\CookieConsent\ContentControllerExtension
    [7] => DNADesign\Elemental\Extensions\ElementalContentControllerExtension
    [8] => JonoM\BetterNavigator\Extension\BetterNavigatorExtension
    [9] => SilverStripe\RedirectedURLs\Extension\RedirectedURLHandler
    [10] => SilverShop\Extension\ViewableCartExtension
    [11] => SilverShop\Extension\OrderManipulationExtension
)
==== end CheckoutPageController::getViewer() ===
As you can see the steps added in the SteppedCheckoutExtension seem to be removed when the viewer is requested.
The config used:
---
Name: vivashop
After:
  - 'silvershop/*'
---
SilverShop\Page\CheckoutPage:
  steps:
    membership: 'SilverShop\Checkout\Step\Membership'
    address: 'SilverShop\Checkout\Step\Address'
    shipping: 'SilverShop\Shipping\Checkout\Step\CheckoutStepShippingMethod'
    summary: 'SilverShop\Checkout\Step\Summary'
Joe Harvey
@HARVS1789UK

demo.silvershop.io CMS credentials anyone?

Can't find these documented anywhere on the demo site, silvershop.io, GitHub etc or anywhere? Wanting to demo the CMS features to someone to sell them on it

joshdillner
@joshdillner
Hi, when will the demo be available again?
joshdillner
@joshdillner
Is this still active???