BanBan
07/23/2021, 5:17 PMoli
07/24/2021, 12:52 AMAhmad Ridwan Fauzi
07/24/2021, 9:57 AMdef index
@searcher = build_searcher(params.merge(include_images: true))
@products = @searcher.retrieve_products
@taxonomies = Spree::Taxonomy.includes(root: :children)
end
I would like to know based on the code above, is there any way to get the count of the total products included on the search parameter?Vlad Danciu
07/24/2021, 11:21 AMvictor
07/24/2021, 1:31 PMSpree::Variant
and Spree::Shipment
if I am using order_ready_to_ship
testing support factory, how do I go about testing this? The factory does not include the attributes. Should I stub them? 😅Jenelle Yonkman
07/27/2021, 12:33 AMreturn_authorizations
state machine as described in the documentation, using
Spree.config do |config|
...
config.state_machines.return_authorization = '::StoreName::StateMachines::ReturnAuthorization'
...
end
but when I try to do the same with the return_item_acceptance
state machine adding
config.state_machines.return_item_acceptance = '::StoreName::StateMachines::ReturnItem::AcceptanceStatus'
to the block, it doesn't seem to work. I can set return_authorization
to the ReturnItem::AcceptanceStatus
machine, so it doesn't seem to be a problem with the new state machine. Any ideas?Alexis
07/27/2021, 3:25 PMVitaliy Adamkov
07/27/2021, 3:32 PMSteven Tapican
07/27/2021, 4:28 PMvictor
07/30/2021, 2:43 PMAntonio Bonanno
07/30/2021, 2:53 PMRado
08/02/2021, 4:00 PMRado
08/02/2021, 4:00 PMRado
08/02/2021, 4:03 PMRado
08/02/2021, 4:04 PMRado
08/02/2021, 4:04 PMRado
08/02/2021, 4:04 PMRado
08/02/2021, 4:04 PMRado
08/03/2021, 10:26 AMRado
08/03/2021, 10:57 AMRado
08/03/2021, 10:57 AMRado
08/03/2021, 10:57 AMTom Wilson
08/03/2021, 7:32 PMCody
08/03/2021, 7:48 PMjakemumu
08/03/2021, 8:51 PMSpree::Config.currency
on a per user basis based on their IP?jakemumu
08/03/2021, 8:51 PMJared Norman
Spree::Config.pricing_options_class
is responsible for extracting the currency from a given contextJared Norman
current_pricing_options
on the frontend for showing pricesJared Norman
jakemumu
08/03/2021, 10:14 PM